Dmitry Trofimov [Tue, 18 Oct 2016 19:13:22 +0000 (21:13 +0200)]
Merge remote-tracking branch 'origin/master'
Dmitry Trofimov [Tue, 18 Oct 2016 19:09:33 +0000 (21:09 +0200)]
Update bundled coverage.py to version 4.2.0
Roman Shevchenko [Tue, 18 Oct 2016 18:35:46 +0000 (20:35 +0200)]
[platform] ignore SIGHUP in restarter script (IDEA-162263)
When the IDE is launched in it's own terminal (File Manager | Run in Terminal), shutting it down kills the restarter script as well. Ignoring the signal allows the script to outlive a terminal and successfully restart the IDE.
Dmitry Trofimov [Tue, 18 Oct 2016 18:17:06 +0000 (20:17 +0200)]
For some strange reason bash doesn't pass env variables sourced from rcfile to the command in case of non-interactive mode.
Interactive mode can crash the process, so it is not an option.
The only option left is to use composite command that sources the activate script and then prints envs. And this works both for bash and sh on Linux.
Dmitry Trofimov [Tue, 18 Oct 2016 18:01:23 +0000 (20:01 +0200)]
Count missed branches in case of partial coverage in total ration denominator (PY-20131)
Roman Shevchenko [Tue, 18 Oct 2016 17:43:40 +0000 (19:43 +0200)]
[platform] passes the PID to watch for to the restarter script (IDEA-162263)
Daniil Ovchinnikov [Tue, 18 Oct 2016 17:25:08 +0000 (20:25 +0300)]
[groovy] setWritable(false) for detached name-value pair value (IDEA-CR-14566)
Daniil Ovchinnikov [Tue, 18 Oct 2016 16:45:22 +0000 (19:45 +0300)]
[groovy] use EmptyStub (IDEA-CR-14566)
Aleksey Pivovarov [Tue, 18 Oct 2016 17:04:56 +0000 (20:04 +0300)]
diff: make methods public
Vladislav.Soroka [Tue, 18 Oct 2016 16:56:29 +0000 (19:56 +0300)]
project tasks: fix modules build settings assertion
Anna.Kozlova [Tue, 18 Oct 2016 15:52:31 +0000 (17:52 +0200)]
assertEquals can be replaced with assertSame: introduce junit 5; extract common fix
Anna.Kozlova [Tue, 18 Oct 2016 15:15:38 +0000 (17:15 +0200)]
assertEquals between inconvertible types: junit & testng refactored; introduce junit 5 for assertEquals called on array
Anna.Kozlova [Tue, 18 Oct 2016 13:54:32 +0000 (15:54 +0200)]
common constants
Dmitry Batkovich [Tue, 18 Oct 2016 16:02:16 +0000 (19:02 +0300)]
javac ast indices: do not show progress status on index up-to-date validation
Dmitry Batkovich [Tue, 18 Oct 2016 15:09:16 +0000 (18:09 +0300)]
javac ast indices: read access
Dmitry Batkovich [Tue, 18 Oct 2016 14:57:55 +0000 (17:57 +0300)]
javac ast indices: read access while get placement of element in asCompileElements()
Dmitry Batkovich [Tue, 18 Oct 2016 14:46:57 +0000 (17:46 +0300)]
javac ast indices: read access while get placement of element in getHierarchyInfo()
Dmitry Batkovich [Tue, 18 Oct 2016 14:37:33 +0000 (17:37 +0300)]
javac ast indices: Javac8RefScanner should be added to CP
Dmitry Batkovich [Tue, 18 Oct 2016 14:36:54 +0000 (17:36 +0300)]
javac ast indices: add javac-ref-scanner-8 to BaseIdeaProperties
Dmitry Batkovich [Tue, 18 Oct 2016 12:45:53 +0000 (15:45 +0300)]
typo
Dmitry Batkovich [Tue, 18 Oct 2016 12:32:01 +0000 (15:32 +0300)]
javac ast indices: do not search java direct inheritors for unknown language classes (AssertionError fixed)
nik [Tue, 18 Oct 2016 16:00:06 +0000 (19:00 +0300)]
build process: fixed building projects under JDK 1.7 and older (IDEA-162589)
Michael Golubev [Tue, 18 Oct 2016 15:44:38 +0000 (17:44 +0200)]
fixed: for xsd:include'd schemas some valid tags may be randomly shown as red
- Direct usage of `visited` guard in CachedValueProvider leads to random results when the visited's state at compute time is different from the original state at create time
- thus, `Set<PsiFile> visited` is replaced with RecursionManager.createGuard(...).doPreventingRecursion
- discussed with and approved by sergey.vasiliev
Alexander Koshevoy [Tue, 18 Oct 2016 13:33:14 +0000 (16:33 +0300)]
PY-17447 ClientModeDebuggerTransport logic explanation added
Alexander Koshevoy [Mon, 17 Oct 2016 23:57:29 +0000 (02:57 +0300)]
PY-17447 _notify_process_created() moved to PyDB as send_process_created_message() method
Alexander Koshevoy [Mon, 17 Oct 2016 23:32:41 +0000 (02:32 +0300)]
PY-17447 PyDebugSessionFactory made to be applied to a general Python SDK, not only a remote one
Alexander Koshevoy [Mon, 17 Oct 2016 22:39:53 +0000 (01:39 +0300)]
PY-17447 PyRemoteDebugSessionCreator renamed to *Factory resolving review comment
Alexander Koshevoy [Thu, 6 Oct 2016 13:15:12 +0000 (16:15 +0300)]
PY-17447 PyRemoteDebugSessionCreator extension point with PyDockerDebugSessionCreator implementation that uses new Python debugger connection strategy introduced
Alexander Koshevoy [Wed, 5 Oct 2016 16:22:06 +0000 (19:22 +0300)]
PY-17447 "IDE as a client" Python script debugger mode introduced
Python pydevd wrapper in the main process and in the every subprocesses being created opens server socket and waits for a single incoming connection from the IDE. These server sockets are bound to the one single port of the localhost. The port number is passed to the script in the command line. Opening server socket on the same port is achieved by using SO_REUSEPORT socket option on Linux/Mac machines and SO_REUSEADDR socket option on Windows machines. SO_REUSEPORT is supported since Linux 3.9, which is perfectly fine for docker case because docker requires Linux 3.10 and higher. A tricky connection strategy implemented in ClientModeDebuggerTransport because each debugging (sub)process requires exactly one connection but Linux could route connection to the same (sub)process twice or more. These connections are stacked on the Linux core level and IDE for a some time thinks that it is connected to a debugging process while it is actually not. Reconnecting to the same host and port solves this problem eventually.
Alexander Koshevoy [Wed, 5 Oct 2016 15:56:44 +0000 (18:56 +0300)]
PY-17447 DebuggerFactory introduced to ease the construction of PyDebugProcess
Alexander Koshevoy [Wed, 5 Oct 2016 14:33:39 +0000 (17:33 +0300)]
PY-17447 New command CMD_PROCESS_CREATED added to notify IDE that new subprocess is created
Alexander Koshevoy [Wed, 5 Oct 2016 14:07:33 +0000 (17:07 +0300)]
PY-17447 Connection and message transport logic extracted from RemoteDebugger
Vassiliy.Kudryashov [Tue, 18 Oct 2016 15:36:30 +0000 (18:36 +0300)]
Revert: Disposing popup corrupts appearing popup
Rustam Vishnyakov [Tue, 18 Oct 2016 15:32:20 +0000 (18:32 +0300)]
Annotate with @NotNull (EA-86553)
Alexey Kudravtsev [Tue, 18 Oct 2016 15:31:59 +0000 (18:31 +0300)]
followup to IDEA-CR-14686: moved FailedTestDebugLogConsoleFolding to devkit
Alexey Kudravtsev [Tue, 18 Oct 2016 15:31:23 +0000 (18:31 +0300)]
reverted
Vladimir Krivosheev [Tue, 18 Oct 2016 15:26:20 +0000 (17:26 +0200)]
path macro: skip findStrings/replaceStrings in the FindInProjectSettingsBase component configuration
Vladimir Krivosheev [Tue, 18 Oct 2016 14:53:29 +0000 (16:53 +0200)]
cleanup
Vladimir Krivosheev [Tue, 18 Oct 2016 13:47:11 +0000 (15:47 +0200)]
cleanup
Roman Shevchenko [Tue, 18 Oct 2016 15:14:42 +0000 (17:14 +0200)]
[build] ASM repackaging script usability improvements
Yaroslav Lepenkin [Tue, 18 Oct 2016 15:07:03 +0000 (18:07 +0300)]
[Parameter Name Hints] "Add to blacklist" intention available on literal param
Yaroslav Lepenkin [Tue, 18 Oct 2016 14:59:00 +0000 (17:59 +0300)]
[Parameter Name Hints] minor settings cosmetics
Yaroslav Lepenkin [Tue, 18 Oct 2016 14:43:03 +0000 (17:43 +0300)]
[Parameter Name Hints] show for binary and polyadic expressions
peter [Tue, 18 Oct 2016 14:54:10 +0000 (16:54 +0200)]
Preview in the editor of the approximate insertion result of the currently selected lookup suggestion
Alexey Kudravtsev [Tue, 18 Oct 2016 14:47:20 +0000 (17:47 +0300)]
fixed: failed test debug log shown always expanded
Alexey Kudravtsev [Tue, 18 Oct 2016 14:40:35 +0000 (17:40 +0300)]
cleanup, notnull
Egor.Ushakov [Tue, 18 Oct 2016 14:34:44 +0000 (17:34 +0300)]
emulate method breakpoints with line breakpoints - disabled by default
Aleksey Pivovarov [Tue, 18 Oct 2016 14:16:27 +0000 (17:16 +0300)]
diff: merge FileAwareDocumentContent into DocumentContentImpl
follow-up:
d8482534ac583ab6c482fa9aedc20f42fe940859
Vladislav.Soroka [Tue, 18 Oct 2016 14:17:35 +0000 (17:17 +0300)]
gradle: fix artifact tests
Vassiliy.Kudryashov [Tue, 18 Oct 2016 14:15:05 +0000 (17:15 +0300)]
IDEA-147640 Switcher dialog: up and down keys are not working
fix broken compilation, javadoc added
Yaroslav Lepenkin [Tue, 18 Oct 2016 14:04:46 +0000 (17:04 +0300)]
[Parameter Name Hints] added couple more filtered items
Yaroslav Lepenkin [Tue, 18 Oct 2016 14:02:04 +0000 (17:02 +0300)]
[Parameter Name Hints] added one more filtered item
Yaroslav Lepenkin [Tue, 18 Oct 2016 13:58:27 +0000 (16:58 +0300)]
[Parameter Name Hints] extracted general abstract test
Yaroslav Lepenkin [Tue, 18 Oct 2016 13:44:17 +0000 (16:44 +0300)]
[Parameter Name Hints] check if blacklisted after hints are found
Yaroslav Lepenkin [Tue, 18 Oct 2016 12:47:24 +0000 (15:47 +0300)]
[Parameter Name Hints] added couple more blacklist items
Yaroslav Lepenkin [Tue, 18 Oct 2016 12:40:44 +0000 (15:40 +0300)]
[Parameter Name Hints] allow to use *smth* (contains "smth") syntax for blacklist setup
Yaroslav Lepenkin [Mon, 17 Oct 2016 17:04:47 +0000 (20:04 +0300)]
[Parameter Name Hints] simplified, corrected xml structure
Yaroslav Lepenkin [Mon, 17 Oct 2016 16:59:57 +0000 (19:59 +0300)]
[Parameter Name Hints] per-language blacklist, each language implementation can now provide it's own default list
Yaroslav Lepenkin [Mon, 17 Oct 2016 10:18:48 +0000 (13:18 +0300)]
[Parameter Name Hints] add java.lang.Math to ignore list
Aleksey Pivovarov [Tue, 18 Oct 2016 14:01:53 +0000 (17:01 +0300)]
diff: rename getter
Roman Shevchenko [Tue, 18 Oct 2016 14:00:43 +0000 (16:00 +0200)]
Merge remote-tracking branch 'origin/master'
Roman Shevchenko [Tue, 18 Oct 2016 14:00:15 +0000 (16:00 +0200)]
[compiler] correct VM options for running a compiler on Java 9
Roman Shevchenko [Tue, 18 Oct 2016 13:58:52 +0000 (15:58 +0200)]
[platform] drops private API usage (IDEA-145206)
nik [Tue, 18 Oct 2016 13:51:34 +0000 (16:51 +0300)]
project configuration: included missing 'layoutlib-resources' to IDEA community project
nik [Tue, 18 Oct 2016 13:50:57 +0000 (16:50 +0300)]
build scripts: print log from parallel tasks if one of them failed with exception
nik [Tue, 18 Oct 2016 13:31:07 +0000 (16:31 +0300)]
build.xml for community: fixed OutOfMemory during compilation
Vassiliy.Kudryashov [Tue, 18 Oct 2016 13:49:20 +0000 (16:49 +0300)]
IDEA-147640 Switcher dialog: up and down keys are not working
Aleksey Pivovarov [Mon, 17 Oct 2016 09:53:49 +0000 (12:53 +0300)]
ProgressManager - catch and handle Throwable
peter [Tue, 18 Oct 2016 13:14:41 +0000 (15:14 +0200)]
remove hard references to AST via (cached) PsiClassReferenceType
Anna.Kozlova [Tue, 18 Oct 2016 13:13:11 +0000 (15:13 +0200)]
devkit: restore navigation from inspection to description.html (non trivial overridden getShortName)
Anna.Kozlova [Tue, 18 Oct 2016 12:59:51 +0000 (14:59 +0200)]
remove unused logger
Anna.Kozlova [Tue, 18 Oct 2016 12:37:04 +0000 (14:37 +0200)]
introduce junit 5 to assertEquals between inconvertible types inspection (IDEA-162623)
Anna.Kozlova [Tue, 18 Oct 2016 12:25:39 +0000 (14:25 +0200)]
lambda unfriendly overload: don't warn when functional interface is the same - other parameters are responsible to resolve ambiguity
Anna.Kozlova [Tue, 18 Oct 2016 11:58:01 +0000 (13:58 +0200)]
remove superficial line breaks from test method templates (IDEA-162465)
Rustam Vishnyakov [Tue, 18 Oct 2016 12:29:18 +0000 (15:29 +0300)]
FIXED IDEA-156001 Code Style Import doesn't recognise project-specific .idea/codeStyleSettings.xml + unit tests
Vladimir Krivosheev [Tue, 18 Oct 2016 12:52:34 +0000 (14:52 +0200)]
CS: ability to import credentials database
nik [Tue, 18 Oct 2016 12:52:03 +0000 (15:52 +0300)]
set parent manager for Content instances added in headless mode
Aleksey Pivovarov [Tue, 18 Oct 2016 12:12:09 +0000 (15:12 +0300)]
ui: remove SwitchManager API - QuickActionProvider
* SimpleToolWindowPanel.setProvideQuickActions - used in multiple plugins
* ProjectViewImpl.getActions(boolean) - used in 'Autoscroll Save' plugin
* QuickActionProvider.KEY - used in 'Armory' plugin
Aleksey Pivovarov [Tue, 18 Oct 2016 12:05:56 +0000 (15:05 +0300)]
ui: remove SwitchManager API - QuickAccessProvider
* QuickAccessProvider - used in 'Cursive' plugin
Aleksey Pivovarov [Tue, 18 Oct 2016 12:00:42 +0000 (15:00 +0300)]
ui: remove SwitchManager API - SwitchProvider
Aleksey Pivovarov [Mon, 17 Oct 2016 16:42:10 +0000 (19:42 +0300)]
ui: remove SwitchManager
* it is a dead code
* even while disabled, it registers actions and sets their shortcuts in runtime
(making impossible removing these shortcuts in Keymap)
Sergey Simonchik [Tue, 18 Oct 2016 12:24:10 +0000 (15:24 +0300)]
util: estimate IDE version for removing deprecated method (IDEA-CR-14320)
Alexey Kudravtsev [Tue, 18 Oct 2016 11:56:29 +0000 (14:56 +0300)]
cleanup
Alexey Kudravtsev [Tue, 18 Oct 2016 11:56:02 +0000 (14:56 +0300)]
fix IllegalArgumentException: Scope is compiled, can't scan: PsiFile:ResultSet.class
Alexey Kudravtsev [Tue, 18 Oct 2016 10:04:19 +0000 (13:04 +0300)]
simplify, remove unnecessary fields and methods
Alexey Kudravtsev [Mon, 17 Oct 2016 15:32:48 +0000 (18:32 +0300)]
notnull
Alexey Kudravtsev [Mon, 17 Oct 2016 13:36:09 +0000 (16:36 +0300)]
notnull
Dmitry Trofimov [Tue, 18 Oct 2016 11:28:07 +0000 (13:28 +0200)]
Merge remote-tracking branch 'origin/master'
Dmitry Trofimov [Tue, 18 Oct 2016 10:59:01 +0000 (12:59 +0200)]
Merge remote-tracking branch 'origin/traff/vmprof-line-profiling' into traff/vmprof-line-profiling
Elizaveta Shashkova [Tue, 18 Oct 2016 10:57:17 +0000 (13:57 +0300)]
Fix for try/catch statement (PY-20616)
Anna.Kozlova [Tue, 18 Oct 2016 10:52:43 +0000 (12:52 +0200)]
junit 5: prepare engines to avoid reloading on test repeated (IDEA-162566)
Anna.Kozlova [Tue, 18 Oct 2016 10:43:37 +0000 (12:43 +0200)]
safe delete: ensure javadoc refs are processed on waterfall parameter deletion (IDEA-162675)
Anna.Kozlova [Tue, 18 Oct 2016 09:47:19 +0000 (11:47 +0200)]
restored api
EA-88619 - NSME: CucumberJavaRunConfigurationProducer.setupConfigurationFromContext
irengrig [Tue, 18 Oct 2016 09:09:17 +0000 (11:09 +0200)]
javascript es6: convert to class: ask what descendants / ancestors from the formed inheritance tree to convert; convert multiple targets to classes; filter out usages, not selected for conversion
Alexander Zolotov [Tue, 18 Oct 2016 10:07:34 +0000 (13:07 +0300)]
Traverse form's properties in the order they added
Otherwise different java versions make different instrumentation on the very
same sources
Roman Shevchenko [Tue, 18 Oct 2016 10:06:19 +0000 (12:06 +0200)]
[java] filtering out non-Java directories in "Create module-info.java" action (EA-88041)
Dmitry Trofimov [Tue, 18 Oct 2016 10:01:56 +0000 (12:01 +0200)]
Move line profiling from experimental plugin to profiler module; fix NPE
Anna.Kozlova [Wed, 12 Oct 2016 17:29:21 +0000 (19:29 +0200)]
try to reuse coverage infrastructure:
inherit from coverageDataManager so profile suites would be collected and current suite can be tracked;
provide custom suites bundle to paint gutter icons;
problems:
1. data is not loaded!
2. mutual coverage/profile would be shown at the same position, won't exclude each other
Dmitry Trofimov [Tue, 18 Oct 2016 10:01:56 +0000 (12:01 +0200)]
Move line profiling from experimental plugin to profiler module; fix NPE
Dmitry Batkovich [Tue, 18 Oct 2016 09:47:36 +0000 (12:47 +0300)]
temp fix to run compiler under jdk 9