idea/community.git
8 years agoFix failed test
Vassiliy.Kudryashov [Mon, 17 Nov 2014 12:50:17 +0000 (15:50 +0300)]
Fix failed test

8 years agoFix NPE when one of class ancestors is unresolved in PyPep8NamingInspection
Mikhail Golubev [Mon, 17 Nov 2014 12:31:45 +0000 (15:31 +0300)]
Fix NPE when one of class ancestors is unresolved in PyPep8NamingInspection

8 years agoDo not reuse replaced (thus invalid) PSI element in PyMoveFileHandler#retargetUsages
Mikhail Golubev [Mon, 17 Nov 2014 12:24:56 +0000 (15:24 +0300)]
Do not reuse replaced (thus invalid) PSI element in PyMoveFileHandler#retargetUsages

Also added several @Nullable/@NotNull annotations in
PyClassRefactoringUtil.

8 years ago[log] IDEA-107117 Fix NPE in date filter: both before&after can be null
Kirill Likhodedov [Mon, 17 Nov 2014 12:39:02 +0000 (15:39 +0300)]
[log] IDEA-107117 Fix NPE in date filter: both before&after can be null

8 years agoEnable 'Replace qualified name with import' intention in javadoc, except from package...
Yaroslav Lepenkin [Mon, 17 Nov 2014 12:58:16 +0000 (14:58 +0200)]
Enable 'Replace qualified name with import' intention in javadoc, except from package-info.java file (fixes IDEA-132216)

8 years agoRevert "[log] IDEA-115897 clear text filter on removing the text"
Kirill Likhodedov [Mon, 17 Nov 2014 12:15:38 +0000 (15:15 +0300)]
Revert "[log] IDEA-115897 clear text filter on removing the text"

This reverts commit 245b93eadfec133cca0691e6ea7c8148831a3c00.

This causes unexpected filter applying.
Will wait for correct fix in the SearchTextField.

8 years agocompilation
Alexey Kudravtsev [Mon, 17 Nov 2014 12:10:39 +0000 (15:10 +0300)]
compilation

8 years agoIDEA-132983 (Search for "$String$" without further constraints finds non-string literals)
Bas Leijdekkers [Mon, 17 Nov 2014 12:13:21 +0000 (13:13 +0100)]
IDEA-132983 (Search for "$String$" without further constraints finds non-string literals)

8 years agodrop method signature cache on any change inside if it's non-physical (IDEA-132447)
peter [Mon, 17 Nov 2014 12:05:59 +0000 (13:05 +0100)]
drop method signature cache on any change inside if it's non-physical (IDEA-132447)

8 years agoOverrideImplementTest -> groovy
peter [Mon, 17 Nov 2014 11:44:41 +0000 (12:44 +0100)]
OverrideImplementTest -> groovy

8 years agofixture-based OverrideImplementTest
peter [Mon, 17 Nov 2014 11:44:17 +0000 (12:44 +0100)]
fixture-based OverrideImplementTest

8 years agosplit out OverrideImplement15Test
peter [Mon, 17 Nov 2014 11:39:31 +0000 (12:39 +0100)]
split out OverrideImplement15Test

8 years agofix PsiJavaParserFacade.createClassFromText javadoc
peter [Thu, 13 Nov 2014 14:22:50 +0000 (15:22 +0100)]
fix PsiJavaParserFacade.createClassFromText javadoc

8 years agoIDEA-132990 Select to line start/end on DoubleCtrl+Home/End
Dmitry Batrak [Mon, 17 Nov 2014 12:00:42 +0000 (15:00 +0300)]
IDEA-132990 Select to line start/end on DoubleCtrl+Home/End

8 years agofaster PlatformTestUtil.tryGcSoftlyReachableObjects
peter [Mon, 17 Nov 2014 11:51:53 +0000 (12:51 +0100)]
faster PlatformTestUtil.tryGcSoftlyReachableObjects

8 years agomore idiomatic scala: use mutiline interpolated strings, map and foreach
peter [Mon, 17 Nov 2014 11:51:01 +0000 (12:51 +0100)]
more idiomatic scala: use mutiline interpolated strings, map and foreach

8 years agoBreadth-first to show minimal-length leak path
Alexey Kudravtsev [Fri, 14 Nov 2014 16:01:15 +0000 (19:01 +0300)]
Breadth-first to show minimal-length leak path

8 years agouse more specific map
Alexey Kudravtsev [Fri, 14 Nov 2014 15:28:59 +0000 (18:28 +0300)]
use more specific map

8 years agoinstantiate ConcurrentHashSet via factory only
Alexey Kudravtsev [Fri, 14 Nov 2014 12:57:28 +0000 (15:57 +0300)]
instantiate ConcurrentHashSet via factory only

8 years agofile type test
Alexey Kudravtsev [Fri, 14 Nov 2014 12:54:57 +0000 (15:54 +0300)]
file type test

8 years agoinstantiate ConcurrentHashMap via factory only
Alexey Kudravtsev [Fri, 14 Nov 2014 12:40:42 +0000 (15:40 +0300)]
instantiate ConcurrentHashMap via factory only

8 years agouse interface where possible
Alexey Kudravtsev [Fri, 14 Nov 2014 12:11:28 +0000 (15:11 +0300)]
use interface where possible

8 years agoremoved cacheOrGet
Alexey Kudravtsev [Fri, 14 Nov 2014 11:34:14 +0000 (14:34 +0300)]
removed cacheOrGet

8 years agoproductivity guide entry for adding carets using DoubleCtrl+arrows
Dmitry Batrak [Mon, 17 Nov 2014 11:34:02 +0000 (14:34 +0300)]
productivity guide entry for adding carets using DoubleCtrl+arrows

8 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Mon, 17 Nov 2014 11:18:00 +0000 (14:18 +0300)]
Merge remote-tracking branch 'origin/master'

8 years agoupdated ipython output cell notebook format to work with nbformat == 4
Ekaterina Tuzova [Mon, 17 Nov 2014 11:17:31 +0000 (14:17 +0300)]
updated ipython output cell notebook format to work with nbformat == 4

8 years agointroduce variable: common api (IDEA-94609; IDEA-125286; IDEA-131965; IDEA-131930)
Anna Kozlova [Mon, 17 Nov 2014 11:08:51 +0000 (12:08 +0100)]
introduce variable: common api (IDEA-94609; IDEA-125286; IDEA-131965; IDEA-131930)

8 years agoinline: restore braces when needed (IDEA-132946)
Anna Kozlova [Mon, 17 Nov 2014 10:36:57 +0000 (11:36 +0100)]
inline: restore braces when needed (IDEA-132946)

8 years agorevert late Friday commit
Maxim.Mossienko [Mon, 17 Nov 2014 10:22:26 +0000 (11:22 +0100)]
revert late Friday commit

8 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Mon, 17 Nov 2014 10:19:49 +0000 (11:19 +0100)]
Merge remote-tracking branch 'origin/master'

8 years agoadd standard insets to list renderer for dropdown popup
Konstantin Bulenkov [Mon, 17 Nov 2014 10:16:36 +0000 (11:16 +0100)]
add standard insets to list renderer for dropdown popup

8 years agoIDEA-97689 Undo causes code corruption phpstorm/140.606
Dmitry Batrak [Mon, 17 Nov 2014 10:02:45 +0000 (13:02 +0300)]
IDEA-97689 Undo causes code corruption

8 years agofix for a specific case of IDEA-131454, refactoring
Dmitry Batrak [Thu, 6 Nov 2014 09:43:05 +0000 (13:43 +0400)]
fix for a specific case of IDEA-131454, refactoring

8 years agoIDEA-87318 Backspace should delete whitespace to chosen indent level, or be configurable
Dmitry Batrak [Wed, 5 Nov 2014 13:02:22 +0000 (17:02 +0400)]
IDEA-87318 Backspace should delete whitespace to chosen indent level, or be configurable

8 years agofighting memory leak
Dmitry Avdeev [Mon, 17 Nov 2014 08:24:32 +0000 (11:24 +0300)]
fighting memory leak

8 years agocleanup
Dmitry Avdeev [Fri, 14 Nov 2014 14:18:33 +0000 (17:18 +0300)]
cleanup

8 years agospeed up restoring of folding state in editor (DocumentFoldingInfo#setToEditor)
Dmitry Batrak [Fri, 7 Nov 2014 16:12:43 +0000 (20:12 +0400)]
speed up restoring of folding state in editor (DocumentFoldingInfo#setToEditor)
currently it's slow for a file with large number of fold regions, that was previously closed with a lot of regions not in their default state - e.g. large XML file after collapsing all regions
* use binary search instead of linear search
* move search to FoldingModelImpl to avoid excessive garbage creation (for copying an array of fold regions)

8 years agostricter validation in folding model on adding fold regions
Dmitry Batrak [Fri, 7 Nov 2014 11:33:03 +0000 (15:33 +0400)]
stricter validation in folding model on adding fold regions

8 years agoEA-39459 - allow safe access to folding model's cached data from non-EDT threads...
Dmitry Batrak [Thu, 6 Nov 2014 10:23:02 +0000 (14:23 +0400)]
EA-39459 - allow safe access to folding model's cached data from non-EDT threads (used by EditFoldingOptionsAction)

8 years agoIDEA-112485 Shortcut to maximize toolwindow appcode/140.597 clion/140.603 dbe/140.602 idea/140.599 phpstorm/140.604 pycharm/140.598 rubymine/140.601 webstorm/140.600
Vassiliy.Kudryashov [Sun, 16 Nov 2014 22:20:47 +0000 (01:20 +0300)]
IDEA-112485 Shortcut to maximize toolwindow

8 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Sun, 16 Nov 2014 21:29:06 +0000 (22:29 +0100)]
Merge remote-tracking branch 'origin/master'

8 years agochange component in toolwindow tab on selectTab
Konstantin Bulenkov [Sun, 16 Nov 2014 21:24:55 +0000 (22:24 +0100)]
change component in toolwindow tab on selectTab

8 years agoadd ability to switch between content tabs via popup
Konstantin Bulenkov [Sun, 16 Nov 2014 21:14:59 +0000 (22:14 +0100)]
add ability to switch between content tabs via popup

8 years agoMerge remote-tracking branch 'origin/master'
Alexander Marchuk [Sun, 16 Nov 2014 16:30:10 +0000 (19:30 +0300)]
Merge remote-tracking branch 'origin/master'

8 years agoMerge remote-tracking branch 'origin/master'
Alexander Marchuk [Sun, 16 Nov 2014 16:20:22 +0000 (19:20 +0300)]
Merge remote-tracking branch 'origin/master'

8 years ago[log] IDEA-115897 clear text filter on removing the text
Kirill Likhodedov [Sun, 16 Nov 2014 16:12:13 +0000 (19:12 +0300)]
[log] IDEA-115897 clear text filter on removing the text

8 years agomove java logic to python side
Alexander Marchuk [Sun, 16 Nov 2014 15:59:55 +0000 (18:59 +0300)]
move java logic to python side
load meta data for array in first request

8 years ago[log] IDEA-107117 Fix disappearing filter components
Kirill Likhodedov [Thu, 13 Nov 2014 19:23:21 +0000 (22:23 +0300)]
[log] IDEA-107117 Fix disappearing filter components

Per nature of CustomComponentAction, don't store the state in the
components itself.
Instead store current filter state in the main ClassicFilterUi class,
providing FilterModel classes to let components get and set
filters' values.

8 years agomake VCS History use TabbedContent
Konstantin Bulenkov [Sun, 16 Nov 2014 13:48:40 +0000 (14:48 +0100)]
make VCS History use TabbedContent

8 years agouse TabbedContentLabel for TabbedContent
Konstantin Bulenkov [Sun, 16 Nov 2014 13:46:28 +0000 (14:46 +0100)]
use TabbedContentLabel for TabbedContent

8 years agospecial tool window tab UI for tabbed content
Konstantin Bulenkov [Sun, 16 Nov 2014 13:45:16 +0000 (14:45 +0100)]
special tool window tab UI for tabbed content

8 years agosupport TabbedContent: ability to group a few tool window contents into groups
Konstantin Bulenkov [Sun, 16 Nov 2014 13:44:11 +0000 (14:44 +0100)]
support TabbedContent: ability to group a few tool window contents into groups

8 years agoEA-62577 (NPE: JavaMatchingVisitor.matchType) appcode/140.578 appcode/140.589 clion/140.576 clion/140.590 dbe/140.584 idea/140.575 idea/140.588 phpstorm/140.585 phpstorm/140.586 phpstorm/140.593 phpstorm/140.596 pycharm/140.574 pycharm/140.592 rubymine/140.583 rubymine/140.591 webstorm/140.581 webstorm/140.594
Bas Leijdekkers [Fri, 14 Nov 2014 19:31:53 +0000 (20:31 +0100)]
EA-62577 (NPE: JavaMatchingVisitor.matchType)

8 years agoSSR: cleanup annotation matching
Bas Leijdekkers [Fri, 14 Nov 2014 16:44:42 +0000 (17:44 +0100)]
SSR: cleanup annotation matching

8 years agoinfer nullity: reuse collected information
Anna Kozlova [Fri, 14 Nov 2014 19:14:07 +0000 (20:14 +0100)]
infer nullity: reuse collected information

8 years agocopyright/infer nullity: check read-only status only for files to be changed
Anna Kozlova [Fri, 14 Nov 2014 18:48:36 +0000 (19:48 +0100)]
copyright/infer nullity: check read-only status only for files to be changed

8 years agoif class with short name is not in scope - ignore it (IDEA-132415)
Anna Kozlova [Fri, 14 Nov 2014 17:45:03 +0000 (18:45 +0100)]
if class with short name is not in scope - ignore it (IDEA-132415)

8 years agoIndexTestGenerator.scala
peter [Fri, 14 Nov 2014 19:03:02 +0000 (20:03 +0100)]
IndexTestGenerator.scala

8 years agounwrap thread's WrappedProgressIndicator when inner indicator is cancelled, same...
Maxim.Mossienko [Fri, 14 Nov 2014 18:41:28 +0000 (19:41 +0100)]
unwrap thread's WrappedProgressIndicator when inner indicator is cancelled, same way as we do during registerIndicatorAndRun (IDEA-132931)

8 years agoSkip minified javascripts when calculating duplicates
Maxim.Mossienko [Fri, 14 Nov 2014 18:30:41 +0000 (19:30 +0100)]
Skip minified javascripts when calculating duplicates

8 years agodisposable listener
Maxim.Mossienko [Fri, 14 Nov 2014 18:29:46 +0000 (19:29 +0100)]
disposable listener

8 years agoinline debugger: fixed slow variables tree update due to lots of sourcePosition reque...
Egor.Ushakov [Fri, 14 Nov 2014 18:02:10 +0000 (21:02 +0300)]
inline debugger: fixed slow variables tree update due to lots of sourcePosition requests in the debugger thread, also do not show fields values at the declaration for not "this" objects

8 years agostyle
Nadya Zabrodina [Fri, 14 Nov 2014 17:13:05 +0000 (20:13 +0300)]
style

8 years agounused declaration: add refs on functional interface from functional expressions...
Anna Kozlova [Fri, 14 Nov 2014 14:54:45 +0000 (15:54 +0100)]
unused declaration: add refs on functional interface from functional expressions (IDEA-132138)

8 years agoMerge branch 'python-fixes'
Andrey Vlasovskikh [Fri, 14 Nov 2014 17:02:48 +0000 (20:02 +0300)]
Merge branch 'python-fixes'

8 years agoDon't use Cython resolver for resolving references to __init__.py (PY-13554, PY-14102)
Andrey Vlasovskikh [Fri, 14 Nov 2014 17:01:51 +0000 (20:01 +0300)]
Don't use Cython resolver for resolving references to __init__.py (PY-13554, PY-14102)

Normal resolvers should do their job with __init__.py. Using the Cython
resolver instead resulted in bypassing class type to instance type
casting for docstring type references to classses in nested packages.

8 years agoIDEA-132867 Push dialog: display "force push" option always, just disable it if force...
Nadya Zabrodina [Fri, 14 Nov 2014 16:47:34 +0000 (19:47 +0300)]
IDEA-132867 Push dialog: display "force push" option always, just disable it if force push is not enabled in the settings + show a tooltip how to enable the option

* tooltips added;
* isPushAllowed changed, ability to provide protected target added;
* SimplePushAction removed;
* getPresentation added to PushTarget

8 years agocleanup
Gregory.Shrago [Fri, 14 Nov 2014 16:26:06 +0000 (19:26 +0300)]
cleanup

8 years agoDataBus: introduce SimpleRequestBroker & EA-60485 - assert: MessageBusImpl.checkNotDi...
Gregory.Shrago [Thu, 13 Nov 2014 19:48:50 +0000 (22:48 +0300)]
DataBus: introduce SimpleRequestBroker & EA-60485 - assert: MessageBusImpl.checkNotDisposed

8 years agogradle: code clean-up
Vladislav.Soroka [Fri, 14 Nov 2014 15:44:21 +0000 (19:44 +0400)]
gradle: code clean-up

8 years agoupdated ipython notebook format to work with nbformat == 4
Ekaterina Tuzova [Fri, 14 Nov 2014 15:42:37 +0000 (18:42 +0300)]
updated ipython notebook format to work with nbformat == 4

8 years agogradle: do not throw exceptions in toString() method of data node during data retrieval
Vladislav.Soroka [Fri, 14 Nov 2014 15:42:12 +0000 (19:42 +0400)]
gradle: do not throw exceptions in toString() method of data node during data retrieval

8 years agogradle: do not throw exceptions in toString() method of data node during data retrieval
Vladislav.Soroka [Fri, 14 Nov 2014 15:36:02 +0000 (19:36 +0400)]
gradle: do not throw exceptions in toString() method of data node during data retrieval

8 years agoMerge branch 'python-fixes'
Andrey Vlasovskikh [Fri, 14 Nov 2014 14:32:35 +0000 (17:32 +0300)]
Merge branch 'python-fixes'

8 years agoFixed selecting the corret item from an import suggestions list after filtering ...
Andrey Vlasovskikh [Fri, 14 Nov 2014 14:29:46 +0000 (17:29 +0300)]
Fixed selecting the corret item from an import suggestions list after filtering (PY-11697)

8 years ago- limit number of duplicate profiles used for building index
Maxim.Mossienko [Fri, 14 Nov 2014 14:02:22 +0000 (15:02 +0100)]
- limit number of duplicate profiles used for building index
- do not let stack overflow escape from index calculation

8 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Fri, 14 Nov 2014 13:57:57 +0000 (16:57 +0300)]
Merge remote-tracking branch 'origin/master'

8 years agoadded debug info
Ekaterina Tuzova [Fri, 14 Nov 2014 13:57:37 +0000 (16:57 +0300)]
added debug info

8 years agoMerge branch 'python-fixes'
Andrey Vlasovskikh [Fri, 14 Nov 2014 13:57:22 +0000 (16:57 +0300)]
Merge branch 'python-fixes'

8 years agoFixed updating conditional imports on moving a module from a packge to top-level...
Andrey Vlasovskikh [Fri, 14 Nov 2014 13:56:00 +0000 (16:56 +0300)]
Fixed updating conditional imports on moving a module from a packge to top-level (PY-13870)

8 years agocosmetics
Ekaterina Tuzova [Fri, 14 Nov 2014 13:43:20 +0000 (16:43 +0300)]
cosmetics

8 years agofix method reference presentation in expression's renderers
Anna Kozlova [Fri, 14 Nov 2014 09:51:49 +0000 (10:51 +0100)]
fix method reference presentation in expression's renderers

8 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Fri, 14 Nov 2014 13:34:15 +0000 (16:34 +0300)]
Merge remote-tracking branch 'origin/master'

8 years agofixed PY-14391 NPE at com.jetbrains.python.testing.PythonTestConfigurationProducer...
Ekaterina Tuzova [Fri, 14 Nov 2014 13:33:24 +0000 (16:33 +0300)]
fixed PY-14391 NPE at com.jetbrains.python.testing.PythonTestConfigurationProducer.setupConfigurationFromContext

8 years agoFix issues from review IDEA-COMMUNITY-CR-901
Mikhail Golubev [Fri, 14 Nov 2014 13:02:00 +0000 (16:02 +0300)]
Fix issues from review IDEA-COMMUNITY-CR-901

8 years agoRemove unused declarations from PyUtil
Mikhail Golubev [Fri, 14 Nov 2014 12:53:20 +0000 (15:53 +0300)]
Remove unused declarations from PyUtil

8 years agoImprove resolve/completion for package attributes (PY-14385, PY-14387, PY-14388,...
Mikhail Golubev [Fri, 14 Nov 2014 11:55:25 +0000 (14:55 +0300)]
Improve resolve/completion for package attributes (PY-14385, PY-14387, PY-14388, PY-14335)

* Outside of import statement do not suggest names of not imported
submodules for namespace packages (PY-14385). It has been done so for
normal packages (with __init__.py) already, now the same policy
applies to namespace packages.
* While searching for imported submodules, use only immediate
children of package, not arbitrary descendants (PY-14387).
* Names defined in __init__.py for indirectly imported (intermediate)
packages are included in completion list (PY-14388).
* Removed custom collecting of submodule names from PyModuleType,
use only PyModuleType#collectImportedSubmodules for this purpose.
As result duplicate undecorated entries are no longer included
in completion list for namespace packages (PY-14335).

8 years agoImprove javadoc for PointInImport and clean up a bit in ResolveImportUtil
Mikhail Golubev [Thu, 13 Nov 2014 14:29:08 +0000 (17:29 +0300)]
Improve javadoc for PointInImport and clean up a bit in ResolveImportUtil

8 years agorollback useless change
Konstantin Bulenkov [Fri, 14 Nov 2014 13:23:15 +0000 (14:23 +0100)]
rollback useless change

8 years agoability to define tooltips for OptionActions
Konstantin Bulenkov [Fri, 14 Nov 2014 13:11:35 +0000 (14:11 +0100)]
ability to define tooltips for OptionActions

8 years agoproject: reference to missing module dropped
Roman Shevchenko [Fri, 14 Nov 2014 12:42:39 +0000 (13:42 +0100)]
project: reference to missing module dropped

8 years agoCleanup (formatting)
Roman Shevchenko [Fri, 14 Nov 2014 12:34:27 +0000 (13:34 +0100)]
Cleanup (formatting)

8 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Fri, 14 Nov 2014 12:24:00 +0000 (15:24 +0300)]
Merge remote-tracking branch 'origin/master'

8 years agofixed tests
Ekaterina Tuzova [Fri, 14 Nov 2014 12:23:33 +0000 (15:23 +0300)]
fixed tests

remove pyc and pycache

8 years ago[log] One more test on hash [de]serialization
Kirill Likhodedov [Thu, 13 Nov 2014 13:17:26 +0000 (16:17 +0300)]
[log] One more test on hash [de]serialization

8 years ago[log] IDEA-121949 style
Kirill Likhodedov [Thu, 13 Nov 2014 13:01:03 +0000 (16:01 +0300)]
[log] IDEA-121949 style

8 years ago[log] A bit better fix for IDEA-132218
Kirill Likhodedov [Thu, 13 Nov 2014 12:56:10 +0000 (15:56 +0300)]
[log] A bit better fix for IDEA-132218

Don't check matching heads for each details filter,
calculate it only once (if all details filters matched).

8 years agocleanup
Alexey Kudravtsev [Thu, 13 Nov 2014 16:16:19 +0000 (19:16 +0300)]
cleanup

8 years agoless garbage because of varargs
Alexey Kudravtsev [Thu, 13 Nov 2014 14:53:09 +0000 (17:53 +0300)]
less garbage because of varargs

8 years agodiagnostics
Alexey Kudravtsev [Thu, 13 Nov 2014 13:58:26 +0000 (16:58 +0300)]
diagnostics