Commit Graph

205381 Commits

Author SHA1 Message Date
Andrey Vlasovskikh
e29a464d4a PY-22324 Converted PySdkListCellRenderer to Kotlin 2017-10-10 05:49:49 +03:00
Andrey Vlasovskikh
68adc51481 PY-22324 Removed SDK name shorten procedure in favor or just shorter names 2017-10-10 05:49:49 +03:00
Andrey Vlasovskikh
6d056781ee Fixed exception in the new project dialog during getting packages for a yet to be created virtualenv 2017-10-10 05:49:49 +03:00
Andrey Vlasovskikh
1bba58a79f PY-22324 Show '!' for fields when Anaconda is not found 2017-10-10 05:49:49 +03:00
Andrey Vlasovskikh
d0ec2d2678 PY-22324 Split Local Interpreter into Virtual Environment and System Interpreter options 2017-10-10 05:49:49 +03:00
Andrey Vlasovskikh
fc47264d5a PY-22324 New UI for adding local Python interpreters
This change also fixes:

* PY-13099, PY-21571 Selected virtualenv location is saved relative to
  the project directory or the virtualenv home directory
* PY-20109 Interpreter file chooser starts in the home directory to
  prevent annoying slow scrolling to /usr/bin and provide a more
  useful default
* PY-18439 Don't store minor Python interpreter version, only X.Y
* PY-15911 Don't show detected interpreters in the project interpreter
  combo box and associate any new virtualenvs with the current project
  to prevent the combo box from getting huge
* PY-14906 Name Python interpreters as "Python X.Y" or
  "Python X.Y (project-name)", don't store local machine paths in the
  interpreter name if we can avoid it
* PY-13464 Don't truncate interpreter names in the combo box at the
  new project screen
2017-10-10 05:49:49 +03:00
Tagir Valeev
cf615a6c99 DataFlowInspection: detect possible ArrayStoreException 2017-10-10 09:37:12 +07:00
Konstantin Kolosovsky
2eae23ef90 Mark preselected unversioned files as included on commit dialog opening
IDEA-161081
2017-10-10 04:01:13 +03:00
Alexander Koshevoy
0a656a6c43 PY-21629 New OPEN_SSH auth type replaces AUTH_AGENT used previously
New authentication type `OPEN_SSH` enhances `AUTH_AGENT`. Beside using authentication agent (ssh-agent or PuTTY) OpenSSH config is used to locate identity files that could be used for authentication.
2017-10-10 02:00:06 +03:00
Vassiliy.Kudryashov
1660fa1f4c Replace in Path: don't merge occurrences 2017-10-10 01:41:31 +03:00
Dmitry Trofimov
bb0a37685e Remove deprecated usage 2017-10-10 00:27:29 +02:00
Dmitry Trofimov
4c92dc7d45 Fix potential leak of ScanContent in user data of library file
Todo index isn't calculated for library files anymore, but BaseFilterLexerUtil
adds ScanContent to the user data only if it will be needed for both Id
and Todo indexes and it is expected to be removed by the second.
2017-10-10 00:21:55 +02:00
Dmitry Trofimov
d484054fe7 Fix tests: prebuilt aware id indexer can be also lexing indexer 2017-10-10 00:21:55 +02:00
Maxim.Mossienko
db70ebfdce Fix for deadlock in BasicJarHandler, ep. 2 2017-10-09 23:40:46 +02:00
Dmitry Trofimov
45e2f4dbc2 Add descriptions for registry keys 2017-10-09 23:04:40 +02:00
Dmitry Trofimov
b15e4a3f35 Fix property description 2017-10-09 22:59:45 +02:00
Dmitry Trofimov
468d815532 Cleanup 2017-10-09 22:53:09 +02:00
peter
adae6ef710 add more logging for "outdated stub in index" (IDEA-180260) 2017-10-09 22:46:55 +02:00
Dmitry Trofimov
96f27043ac Add module name validation 2017-10-09 22:27:09 +02:00
Irina.Chernushina
fdf07bb9c3 json schema annotation: add a check for annotated element type
- significantly improves performance for big files, because less matching
schema searches are done
2017-10-09 22:21:26 +02:00
Irina.Chernushina
6d6f61f345 json schema: performance test: schema file with many definitions
but the speed of highlighting currently is not comparable with the size of the file
2017-10-09 22:21:26 +02:00
Irina.Chernushina
b307649b78 json schema: get rid of unused definitions pointer 2017-10-09 22:21:26 +02:00
Dmitry Trofimov
52de4f64ee Filed with completion and chooser for module selection (PY-2784) 2017-10-09 22:19:54 +02:00
Dmitry Trofimov
60e4725922 Don't depend on module 2017-10-09 22:19:54 +02:00
Daniil Ovchinnikov
9fd930772f [groovy] tests: assertNull if no target class passed 2017-10-09 22:53:25 +03:00
Daniil Ovchinnikov
52da364caf [jvm-lang] cleanup
- remove old JvmElementActionsFactory#createAddMethodActions;
- remove implementations of above method;
- remove MemberRequest.Method;
- remove actions.kt#createMethodAction.
2017-10-09 22:31:58 +03:00
Daniil Ovchinnikov
cd6a54d4a8 [jvm-lang] mark conversion helper as @Experimental 2017-10-09 22:25:23 +03:00
Dmitry Trofimov
79ffc852b7 Move test data for unified parsing to separate folder 2017-10-09 21:23:29 +02:00
Dmitry Trofimov
210bf9b175 Unify stubs for all Python language levels (PY-26392)
The cause of the problem was the difference in parsing for different
language levels.

This commit improves error recovery and adds support for stubs for
syntax elements unavailable in older Python versions.
Cases that are covered are necessary for stubs generation
for Python 3.6 standard library. They are discovered by automatic
validation executed by stubs generator in StubsGenerator.kt.

Those are the cases that were fixed:
* A stub for single star argument in Py2 was absent
* Type annotations in Py2 were absent
* Print with end argument in Py2 broke parser
* Exec function as argument in Py2 broke parser
* Async keyword after decorator broke parser

All the cases are listed as test cases in PyUnifiedStubsTest

P.S. It is possible though that more cases will be revealed in future.
2017-10-09 21:23:29 +02:00
Nicolay Mitropolsky
6fed513e8d JvmDeclarationUElement: separates UElement.sourcePsi and javaPsi
`JvmDeclarationUElement` is a temporary replacement for `UElement`
2017-10-09 22:10:48 +03:00
Nicolay Mitropolsky
56a12a5323 Java-Uast: lazy fix for some forgotten classes 2017-10-09 22:10:48 +03:00
Sergey Malenkov
fd2d05f3bd NonProjectFileAccessTest.testCheckingOtherWriteAccessProvidersOnUnlock* 2017-10-09 22:08:36 +03:00
Gregory.Shrago
c9c419349e more scripts to io.File (EA-108720 - assert: RefreshQueueImpl.execute) 2017-10-09 22:06:36 +03:00
Gregory.Shrago
98f37409f0 do not log exception trace for a simple FNFE 2017-10-09 22:06:35 +03:00
Roman Shevchenko
e86126890d [java] prevents adding a JDK when no classes were found 2017-10-09 20:26:26 +02:00
Elizaveta Shashkova
a3dffc58ac Add ability to load variables in the Variables Pane asynchronously (PY-12987)
If in the frame there is at least one very long or slow variable, the frame's variable aren't shown. In order to avoid such situations we add an option to load variables asynchronously. At first debugger loads only names of the variables, and after that it sends additional commands and evaluates values of the variables in a separate threads.
2017-10-09 21:20:18 +03:00
Anna.Kozlova
0c0fcfb78a @argFile presentation 2017-10-09 20:18:54 +02:00
Shaverdova Elena
0f95cfe4b1 UX-15 Toolbar editor panel design
WI-38324 Redesign yellow action bar

Made background more neutral for toolbar editor panels
2017-10-09 20:08:13 +02:00
Nadya Zabrodina
cc87c6965c shelf: implement dnd onto shelf tab in addition to tabbed label 2017-10-09 21:03:52 +03:00
Nadya Zabrodina
fad96bd8a5 shelf: rename shelved list in place instead of showing addition dialog
* do not update entire model during rename shelved changelist: it's
enough to update only this tree node;
2017-10-09 21:03:50 +03:00
Nadya Zabrodina
3f5f2ee23e shelf: remove custom tree updater and use MergingUpdateQueue instead
* join several update requests together;
* if need to execute something after update - cancel all requests and
force update with post runnable (maybe invokeAndWait would be better);
2017-10-09 21:03:49 +03:00
Nadya Zabrodina
73e0a66af9 shelf: implement rename shelved changelist using tree node edit mode 2017-10-09 21:03:47 +03:00
Nadya Zabrodina
9bc9e6bb5f shelf: extract methods and check that shelved list exist as a tree node 2017-10-09 21:03:44 +03:00
Nadya Zabrodina
e3ee1ac256 shelf: extract ShelvedListNode with specified userObject 2017-10-09 21:03:42 +03:00
Nadya Zabrodina
1aadb1cbaa shelf: show rename shelved changelist dialog after silent action
* show rename dialog if only one shelved list was created during action;
2017-10-09 21:03:39 +03:00
Nadya Zabrodina
d73f71319a shelf: refactoring - extract method and simplify 2017-10-09 21:03:37 +03:00
Nadya Zabrodina
7e1cffb50a shelf: implement silent unshelve to selected changelist using dnd
* extract methods to appropriate managers;
* fix update method contract: return true if drop is not possible;
* refactor update method for shelved drag bean case;
* IDEA-169729 add ability to choose changelist while dragging
 shelved changes to 'Local Changes' tab;
2017-10-09 21:03:35 +03:00
Nadya Zabrodina
e94ba3eb90 shelf: implement activate shelf/local changes tab on hold while dnd
* create common implementation for appropriate targetContent;
* use cleanUpLeave runnable for TabbedLabel from real content target;
* IDEA-169852 Silent shelve/unshelve could activate tab on drag&hold;
2017-10-09 21:03:32 +03:00
Alexey Ushakov
b46e4d4117 IDEA-174258 Painting progress bars eats CPU
Replaced path rendering with texture paint for indeterminate progress bar
2017-10-09 20:54:17 +03:00
Daniil Ovchinnikov
f914633338 [groovy] inline RESOLVE_KINDS_CLASS in ClassResolverProcessor 2017-10-09 20:29:14 +03:00