liana.bakradze [Sat, 16 Jul 2016 08:52:26 +0000 (11:52 +0300)]
disable line numbers and folding for editing mode (EDU-673, EDU-674)
liana.bakradze [Sat, 16 Jul 2016 08:37:48 +0000 (11:37 +0300)]
EDU-671 Replace placeholder default text with "type here"
Ilya.Kazakevich [Fri, 15 Jul 2016 20:13:13 +0000 (23:13 +0300)]
PY-17107: Removing outdated deprecated code
* This workaround is not needed anymore at least since Django 1.7.
liana.bakradze [Fri, 15 Jul 2016 18:46:29 +0000 (21:46 +0300)]
EDU-657 Initial implementation of subtasks
Alexander Doroshko [Fri, 15 Jul 2016 18:42:22 +0000 (21:42 +0300)]
Fixed files nesting in project root
Alexander Doroshko [Fri, 15 Jul 2016 18:33:44 +0000 (21:33 +0300)]
keep rules in a set
Pavel Dolgov [Fri, 15 Jul 2016 16:38:55 +0000 (19:38 +0300)]
Java inspection: In "Add Braces" and "Remove Braces" inspections don't offer the fix on an if/loop body if it contains another if/loop to avoid ambiguity. Tests added. (IDEA-157727)
Valentin Fondaratov [Fri, 15 Jul 2016 16:32:38 +0000 (19:32 +0300)]
RUBY-18147 Fix encoding text to folded scalars-compatible text routine
Valentin Fondaratov [Fri, 15 Jul 2016 15:12:57 +0000 (18:12 +0300)]
Fix incorrect conversion of values from/to dq strings in YAML
Valentin Fondaratov [Fri, 15 Jul 2016 14:07:58 +0000 (17:07 +0300)]
Convert escaped seqs properly in YAML dq strings
Semyon Proshev [Wed, 13 Jul 2016 18:38:33 +0000 (21:38 +0300)]
Attempt to make PythonRegexpInjector more readable
Semyon Proshev [Wed, 13 Jul 2016 17:10:00 +0000 (20:10 +0300)]
PY-16404 Fixed: Syntax highlighting does not work for the pattern in `re.fullmatch`, but works for `re.match`
Add fullmatch support to PythonRegexpInjector
Semyon Proshev [Wed, 13 Jul 2016 16:41:27 +0000 (19:41 +0300)]
PY-19085 Fixed: Unresolved attribute reference 'fullmatch' for class '__Regex'
Add re.fullmatch and __Regex.fullmatch to skeletons
Aleksey Pivovarov [Fri, 15 Jul 2016 15:56:26 +0000 (18:56 +0300)]
run gutter icons optimized
Aleksey Pivovarov [Fri, 15 Jul 2016 15:20:44 +0000 (18:20 +0300)]
patch: fix file path comparison
PathDescription does not overrides equals()
Aleksey Pivovarov [Fri, 15 Jul 2016 10:45:18 +0000 (13:45 +0300)]
patch: use new diff api
Aleksey Pivovarov [Fri, 15 Jul 2016 10:40:17 +0000 (13:40 +0300)]
patch: rearrange methods
Aleksey Pivovarov [Fri, 15 Jul 2016 10:36:49 +0000 (13:36 +0300)]
patch: extract method
Aleksey Pivovarov [Fri, 15 Jul 2016 10:34:15 +0000 (13:34 +0300)]
patch: check myIsReversePath when adding "\ No newline at EOF"
hopefully, soon this method will be removed completely
Aleksey Pivovarov [Fri, 15 Jul 2016 10:09:19 +0000 (13:09 +0300)]
patch: remove unecessary parameter
Aleksey Pivovarov [Fri, 15 Jul 2016 10:06:20 +0000 (13:06 +0300)]
patch: extract method
Aleksey Pivovarov [Fri, 15 Jul 2016 09:52:51 +0000 (12:52 +0300)]
patch: @NotNull
Aleksey Pivovarov [Fri, 15 Jul 2016 09:36:35 +0000 (12:36 +0300)]
patch: inline only field usage
Mikhail Golubev [Wed, 13 Jul 2016 14:16:32 +0000 (17:16 +0300)]
PY-20026 PyClassImpl#mroLinearize() properly handles duplicate base classes
The exception could happen in this case because we used the same cached
result of MRO linearization twice without defencive copying. Then later,
as a side effect of that, in mroMerge() we deleted one "head" from
several sequences simultaneously, hence the IndexOutOfBoundsException.
nik [Fri, 15 Jul 2016 14:54:18 +0000 (17:54 +0300)]
build scripts: interface from scrambling task extracted to allow its use from the common 'build distributions' code
Sergey Simonchik [Fri, 15 Jul 2016 14:27:13 +0000 (17:27 +0300)]
scopes: keep all scopes if showEmptyScopes=true (in this case, files in a scope at creation time may differ from files in the same scope at usage time)
previously, "Open Files" scope prevented adding "Current File" if both scopes are empty
Dmitry Batrak [Fri, 15 Jul 2016 14:23:31 +0000 (17:23 +0300)]
IDEA-158599 Semicolon not inserted in string literals and comments
nik [Fri, 15 Jul 2016 14:16:15 +0000 (17:16 +0300)]
build scripts: generation and checking of licenses for third-party libraries rewritten in Groovy
Mikhail Golubev [Fri, 15 Jul 2016 11:42:40 +0000 (14:42 +0300)]
PY-20081 Set "User Agent" for requests to PyPI in form <Product Name>/<Product version>
Mikhail Golubev [Thu, 14 Jul 2016 19:44:35 +0000 (22:44 +0300)]
PY-20081 Get rid of AsyncCallback since we don't use asynchronous XML-RPC calls anymore
Mikhail Golubev [Thu, 14 Jul 2016 19:23:29 +0000 (22:23 +0300)]
PY-20081 Fix AssertionError in PyPIPackageUtil#fillPackageDetails() when there are extra repositories
Mikhail Golubev [Thu, 14 Jul 2016 19:02:02 +0000 (22:02 +0300)]
PY-20081 Show "pypi.python.org/simple" instead of "pypi.python.org/pypi" in the dialog
Mikhail Golubev [Thu, 14 Jul 2016 18:54:36 +0000 (21:54 +0300)]
PY-20081 Allow more IOExceptions to propagate to InstalledPackagesPanel's handlers
Thanks to that they can be displayed in UI successfully, not hidden in
IDE logs.
Mikhail Golubev [Thu, 14 Jul 2016 17:20:15 +0000 (20:20 +0300)]
PY-20081 Don't suppress IOException from PyPIPackageUtil#parsePyPIListFromWeb()
This way users see why we failed to update package index if server API
was changed.
Mikhail Golubev [Thu, 14 Jul 2016 16:40:23 +0000 (19:40 +0300)]
PY-20081 Request latest versions only of packages available on PyPI
Mikhail Golubev [Thu, 14 Jul 2016 16:25:56 +0000 (19:25 +0300)]
PY-20081 Log updates of PyPI packages index and requesting package version
Mikhail Golubev [Thu, 14 Jul 2016 15:32:18 +0000 (18:32 +0300)]
PY-20081 Cleanup in PyPIPackageUtil and PyPackageManagementService
Mikhail Golubev [Wed, 13 Jul 2016 18:32:33 +0000 (21:32 +0300)]
PY-20081 Use "simple/" endpoint to fetch packages from PyPI
Because "simple/" index is limited compared to the old one
and contains only package names, not their latest versions,
we collect only available packages at first and fetch their
versions later when it's necessary. In parcticular, when
we need to inidicate outdated installed packages in
"Project interpreter" page or make XML-RPC request to
receive detailed information about concrete package.
Also all network requests run in pooled threads thanks to
recently added assertions on that.
Pavel Dolgov [Fri, 15 Jul 2016 14:06:02 +0000 (17:06 +0300)]
Java inspection: When the element to be processed by information-level inspections is a whitespace (and the caret is at the start of the white space) process the nearest previous non-space leaf element instead. (IDEA-157727)
Dmitry Batrak [Fri, 15 Jul 2016 13:46:20 +0000 (16:46 +0300)]
IDEA-158559 Drag in annotations area starts selection
Yaroslav Lepenkin [Fri, 15 Jul 2016 12:47:06 +0000 (15:47 +0300)]
[formatter] simplification: removed unnecessary classes
Yaroslav Lepenkin [Fri, 15 Jul 2016 12:24:08 +0000 (15:24 +0300)]
[formatter] simplification: changed context reformat api
Yaroslav Lepenkin [Fri, 15 Jul 2016 12:12:45 +0000 (15:12 +0300)]
[formatter] simplification: ChangedRangesInfo returns list of inserted lines now
Yaroslav Lepenkin [Fri, 15 Jul 2016 11:49:21 +0000 (14:49 +0300)]
[formatter] simplification
Yaroslav Lepenkin [Fri, 15 Jul 2016 11:45:17 +0000 (14:45 +0300)]
[formatter] using FormatTextRanges in CodeStyleManager
Yaroslav Lepenkin [Thu, 14 Jul 2016 11:16:22 +0000 (14:16 +0300)]
[context formatting] extracted interface
Lada Gagina [Thu, 14 Jul 2016 16:35:54 +0000 (19:35 +0300)]
PY-11943 Add one more test case to fix
Added a function call with wrong argument type to make sure that type casting to MutableMapping in type checker works.
Lada Gagina [Mon, 11 Jul 2016 15:02:20 +0000 (18:02 +0300)]
PY-11943 Add MutableMapping test and check
Type checker has separate checks to perform type casting to abstract
base classes like Mapping, but it didn't support MutableMapping so this
commit added MutableMapping inspection to type checker.
Sergey Malenkov [Fri, 15 Jul 2016 12:41:13 +0000 (15:41 +0300)]
IDEA-97406 tune new dotted underscore
Dmitry Batkovich [Fri, 15 Jul 2016 11:53:11 +0000 (14:53 +0300)]
guava type migration: convert function variable that defined as method reference IDEA-152415
Sergey Malenkov [Fri, 15 Jul 2016 10:26:57 +0000 (13:26 +0300)]
IDEA-97406 support BOLD_DOTTED_UNDERSCORE in EffectPainter
Dmitry Batkovich [Fri, 15 Jul 2016 11:21:23 +0000 (14:21 +0300)]
type migration: multiple variable declaration in single statement migration IDEA-154937
Alexey Ushakov [Fri, 15 Jul 2016 10:46:11 +0000 (13:46 +0300)]
IDEA-158611 BootJDK switcher incorrectly handles arrow keys
Enabled JComboBox.isTableCellEditor client property to avoid actionPerformed callback invocation on selection change by arrow keys
Dmitry Batrak [Fri, 15 Jul 2016 10:29:37 +0000 (13:29 +0300)]
make sure 'normal' token order is always LTR (even if default bidi text direction is set to RTL)
Dmitry Batrak [Fri, 15 Jul 2016 09:56:17 +0000 (12:56 +0300)]
fix text layout cache invalidation problem - RTL layout was mistakenly disabled for a line if a line break before it was removed
Dmitry Batrak [Thu, 14 Jul 2016 16:38:13 +0000 (19:38 +0300)]
IDEA-158519 Setting to override default text direction for mixed LTR/RTL text
Valentin Fondaratov [Fri, 15 Jul 2016 10:37:24 +0000 (13:37 +0300)]
RUBY-18290: Fix lexing of block scalar values with unicode chars not covered by "." rule
Pavel Dolgov [Fri, 15 Jul 2016 09:48:27 +0000 (12:48 +0300)]
Java inspection: When the element to be processed by information-level inspections is a whitespace (and the caret is at the start of the white space) process the nearest previous non-space element instead. (IDEA-157727)
Pavel Dolgov [Fri, 15 Jul 2016 09:32:08 +0000 (12:32 +0300)]
Java inspection: Simplify quick fix in "Add Braces" and "Remove Braces" inspections, in order to avoid exceptions in the inspection tool UI. (IDEA-157727)
Pavel Dolgov [Fri, 15 Jul 2016 09:11:14 +0000 (12:11 +0300)]
Java intention: Reverted removing messages from the message bundle because they're used in a plugin
Vladimir.Orlov [Fri, 15 Jul 2016 08:15:15 +0000 (11:15 +0300)]
IDEA-158516 idea.bat is using %BITS% for USER_JDK_FILE before it's initialized
Vassiliy.Kudryashov [Thu, 14 Jul 2016 19:43:18 +0000 (22:43 +0300)]
IDEA-158578 Compound Run configuration: edit button does nothing after first use
Sergey Malenkov [Thu, 14 Jul 2016 17:47:50 +0000 (20:47 +0300)]
IDEA-97406 refactor EffectPainter to support LINE_UNDERSCORE, BOLD_LINE_UNDERSCORE, WAVE_UNDERSCORE, STRIKE_THROUGH
Roman Shevchenko [Thu, 14 Jul 2016 19:05:22 +0000 (21:05 +0200)]
Merge remote-tracking branch 'origin/master'
Roman Shevchenko [Thu, 14 Jul 2016 19:04:02 +0000 (21:04 +0200)]
[java] module icons
Semyon Proshev [Mon, 11 Jul 2016 13:12:28 +0000 (16:12 +0300)]
PY-19956 Fixed: Slotted attributes considered read-only
Slotted attribute is writable in Py2K only if it isn't declared as a class attr
Semyon Proshev [Mon, 11 Jul 2016 12:45:27 +0000 (15:45 +0300)]
Update PyPropertyAccessInspectionTest to run tests with both Pythons
Roman Shevchenko [Thu, 14 Jul 2016 18:30:38 +0000 (20:30 +0200)]
Cleanup (formatting; warnings)
Konstantin Bulenkov [Thu, 14 Jul 2016 18:35:27 +0000 (20:35 +0200)]
Merge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Thu, 14 Jul 2016 18:33:15 +0000 (20:33 +0200)]
@2x icons for win decorations
Gregory.Shrago [Thu, 14 Jul 2016 18:15:29 +0000 (21:15 +0300)]
instantiate inspections via EP
Roman Shevchenko [Thu, 14 Jul 2016 18:04:05 +0000 (20:04 +0200)]
Cleanup (element name corrected)
Egor.Ushakov [Thu, 14 Jul 2016 17:37:08 +0000 (20:37 +0300)]
IDEA-54188 add a configuration option to preselect/automate disconnection and process termination on termination of a debugging session
Maxim.Mossienko [Thu, 14 Jul 2016 16:28:02 +0000 (18:28 +0200)]
[performance optimizations] - option to compact chunks in persistent hash map via value deserialization instead of chunks's concatenation. Usage of the option in indices decreases disk usage in 10-50% depending on index.
- do not store key -> 0 mapping when removing nonexistent key
Pavel Dolgov [Thu, 14 Jul 2016 17:14:13 +0000 (20:14 +0300)]
Java inspection: Removed redundant comment. (IDEA-157727)
Pavel Dolgov [Thu, 14 Jul 2016 17:12:08 +0000 (20:12 +0300)]
Java inspection: When the element to be processed by information-level inspections is a whitespace process the nearest previous non-space element instead. (IDEA-157727)
fitermay [Fri, 8 Jul 2016 11:12:42 +0000 (14:12 +0300)]
PY-19825 Fixed: Tuple sub-assignment typing broken
Find the highest ancestor of tuple, calculate its type and then extract type of its subtuples and their elements
Semyon Proshev [Wed, 6 Jul 2016 17:10:50 +0000 (20:10 +0300)]
Update usages for PyABCUtil.isSubclass and specify context where possible
Semyon Proshev [Wed, 6 Jul 2016 17:06:31 +0000 (20:06 +0300)]
Drop unused PyClassImpl.isSubclass(PyClass)
Semyon Proshev [Wed, 6 Jul 2016 17:06:07 +0000 (20:06 +0300)]
Update usages of PyClassImpl.isSubclass(String, TypeEvalContext) and specify context where possible
Semyon Proshev [Wed, 6 Jul 2016 17:01:18 +0000 (20:01 +0300)]
Update usages of PyClassImpl.isSubclass(PyClass, TypeEvalContext) and specify context where possible
Semyon Proshev [Wed, 6 Jul 2016 16:39:02 +0000 (19:39 +0300)]
Update PyABCUtil.isSubclass(PyClass, PyClass) to receive TypeEvalContext
fitermay [Sat, 2 Jul 2016 23:30:31 +0000 (19:30 -0400)]
PY-19967 Fixed: Type inference and completion doesn't correctly when inheriting from namedtuple
Pass TypeEvalContext when checking replaceable subclasses
Dennis Ushakov [Thu, 14 Jul 2016 14:31:25 +0000 (17:31 +0300)]
create special text attributes for ansi escapes that delegate to the color scheme
#RUBY-18264 fixed
Dennis Ushakov [Thu, 14 Jul 2016 13:33:19 +0000 (16:33 +0300)]
Revert "IDEA-132694 ANSI colors need restart for a new settings to apply"
This reverts commit
87779167e9a5aa0df334e15350849cccdb8ac2d2.
Egor.Ushakov [Thu, 14 Jul 2016 14:22:54 +0000 (17:22 +0300)]
IDEA-54188 add a configuration option to preselect/automate disconnection and process termination on termination of a debugging session - replace checkbox with a button, freeing space for "do not ask again" option
Pavel Dolgov [Thu, 14 Jul 2016 13:04:49 +0000 (16:04 +0300)]
Java inspection: Converted "Remove Braces" intention into an INFORMATION-level inspection. Reused bits of code from ControlFlowStatementWithoutBracesInspection. Tests added. (IDEA-157727)
Aleksey Pivovarov [Thu, 14 Jul 2016 12:45:22 +0000 (15:45 +0300)]
lst: do not create trimmable ranges in smart mode
They can be trimmable because we ignore whitespaces, thus " \n" vs "" can mark first lines as equal.
In this case we can't reuse existing changes and have to recalculate changes.
Actually, let's recalculate changes always, as it greatly simplifies code and performance gains are not clear.
nik [Thu, 14 Jul 2016 13:26:21 +0000 (16:26 +0300)]
MultiValuesMap: duplicated (and incorrect) version of 'values' method deprecated
Sergey Malenkov [Thu, 14 Jul 2016 13:01:45 +0000 (16:01 +0300)]
fix border of rounded text field
Dmitry Batkovich [Thu, 14 Jul 2016 11:52:46 +0000 (14:52 +0300)]
inspection view: use getFamilyName() for fixes grouping IDEA-155841
Andrey Vlasovskikh [Thu, 14 Jul 2016 11:41:31 +0000 (14:41 +0300)]
PyCharm 2016.2 artwork
Dmitry Batrak [Thu, 14 Jul 2016 11:41:08 +0000 (14:41 +0300)]
revert fix for IDEA-105408
caret row becomes almost invisible in some languages (PHP, Velocity, etc)
Egor.Ushakov [Thu, 14 Jul 2016 11:25:52 +0000 (14:25 +0300)]
IDEA-70251 smart step into displays in popup methods that have already been executed
Egor.Ushakov [Wed, 13 Jul 2016 17:46:37 +0000 (20:46 +0300)]
added helper stepOut
Dmitry Batkovich [Thu, 14 Jul 2016 10:39:54 +0000 (13:39 +0300)]
inspection view: do not execute huge read actions IDEA-157005
Anna.Kozlova [Thu, 14 Jul 2016 10:27:41 +0000 (12:27 +0200)]
prototype for class based patterns as entry points (IDEA-34620)
Roman Shevchenko [Thu, 14 Jul 2016 10:19:31 +0000 (12:19 +0200)]
[java] "go to duplicate" quick fix for module highlighting
Anton Makeev [Thu, 14 Jul 2016 10:11:11 +0000 (12:11 +0200)]
assertion to prohibit closeProject() call within write action because fireClosing() listeners must have a chance to do something useful (e.g. cancel and wait for VCSInitialization to complete)
+ allow tests to register custom project cleanups
Yaroslav Lepenkin [Thu, 14 Jul 2016 09:20:03 +0000 (12:20 +0300)]
[java-formatter] do not add empty call chunks, fixes IDEA-158331, yellow code removed