idea/community.git
6 years agoMerge remote-tracking branch 'origin/master' into IDEA-CR-10038
Vladimir Krivosheev [Mon, 25 Apr 2016 10:22:09 +0000 (12:22 +0200)]
Merge remote-tracking branch 'origin/master' into IDEA-CR-10038

6 years agoIDEA-154925 DesignerToolWindowManager shouldn't initialize swing components in headle...
Alexander Lobas [Mon, 25 Apr 2016 09:50:48 +0000 (12:50 +0300)]
IDEA-154925 DesignerToolWindowManager shouldn't initialize swing components in headless mode

6 years agoIDEA-155151 NPE on startup on clean installation (when lo license is present)
Sergey Malenkov [Mon, 25 Apr 2016 09:43:22 +0000 (12:43 +0300)]
IDEA-155151 NPE on startup on clean installation (when lo license is present)

6 years agoBuildNumber: deprecate 'fallback' method and use 'currentVersion' instead; 'fallback...
nik [Thu, 21 Apr 2016 14:35:59 +0000 (17:35 +0300)]
BuildNumber: deprecate 'fallback' method and use 'currentVersion' instead; 'fallback' name is obscure and it's better to use fallback version (999.SNAPSHOT) only if we cannot read more actual build number from build.txt, otherwise some plugins may be disabled as incompatible

6 years agoremove unnecessary invokeLater from ConfigureTemplateDirectoriesAction
peter [Mon, 25 Apr 2016 09:05:01 +0000 (11:05 +0200)]
remove unnecessary invokeLater from ConfigureTemplateDirectoriesAction

6 years agoremove unnecessary invokeLater from usage view rerun actions
peter [Mon, 25 Apr 2016 09:03:58 +0000 (11:03 +0200)]
remove unnecessary invokeLater from usage view rerun actions

6 years agointroduce param object: pass substitution around which won't be available after metho... appcode/146.1479 clion/146.1478
Anna.Kozlova [Mon, 25 Apr 2016 08:54:43 +0000 (10:54 +0200)]
introduce param object: pass substitution around which won't be available after method signature is changed (IDEA-154208)

6 years agoSSR: find parameterized method calls (IDEA-154740)
Bas Leijdekkers [Sat, 23 Apr 2016 18:43:41 +0000 (20:43 +0200)]
SSR: find parameterized method calls (IDEA-154740)

6 years agoFix env var name appcode/146.1474 clion/146.1476 dbe/146.1473 idea/146.1471 phpstorm/146.1470 pycharm/146.1469 pycharm/146.1472 rubymine/146.1475 webstorm/146.1477
Dmitry Trofimov [Sun, 24 Apr 2016 22:18:56 +0000 (00:18 +0200)]
Fix env var name

6 years agosimplify and remove yellow code
Konstantin Bulenkov [Sun, 24 Apr 2016 16:50:44 +0000 (17:50 +0100)]
simplify and remove yellow code

6 years agoPsiAugmentProvider: ask for dumbness once appcode/146.1461 appcode/146.1467 clion/146.1462 clion/146.1466 dbe/146.1456 idea/146.1455 idea/146.1457 phpstorm/146.1458 phpstorm/146.1465 pycharm/146.1459 pycharm/146.1460 rubymine/146.1463 webstorm/146.1464
peter [Sat, 23 Apr 2016 17:03:02 +0000 (19:03 +0200)]
PsiAugmentProvider: ask for dumbness once

6 years agooverriding method search: remove costly and completely useless check
peter [Sat, 23 Apr 2016 16:59:51 +0000 (18:59 +0200)]
overriding method search: remove costly and completely useless check

6 years agodon't lose submitted transactions appcode/146.1453 clion/146.1454
peter [Sat, 23 Apr 2016 08:13:18 +0000 (10:13 +0200)]
don't lose submitted transactions

6 years agoMerge remote-tracking branch 'origin/liana/course-creator-improvements'
liana.bakradze [Sat, 23 Apr 2016 06:39:21 +0000 (09:39 +0300)]
Merge remote-tracking branch 'origin/liana/course-creator-improvements'

# Conflicts:
# python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/handlers/CCLessonMoveHandlerDelegate.java
# python/educational-core/student/resources/META-INF/plugin.xml
# python/educational-core/student/src/com/jetbrains/edu/learning/StudyPluginConfigurator.java
# python/educational-core/student/src/com/jetbrains/edu/learning/StudyProjectComponent.java
# python/educational-core/student/src/com/jetbrains/edu/learning/StudyTaskManager.java
# python/educational-core/student/src/com/jetbrains/edu/learning/StudyUtils.java
# python/educational-core/student/src/com/jetbrains/edu/learning/editor/StudyEditorFactoryListener.java
# python/educational-core/student/src/com/jetbrains/edu/learning/ui/StudySwingToolWindow.java

6 years ago[java] usages migrated to PsiType.annotate()
Roman Shevchenko [Fri, 22 Apr 2016 18:48:45 +0000 (20:48 +0200)]
[java] usages migrated to PsiType.annotate()

6 years agoavoid explicit document commit when setting/getting editor state
peter [Fri, 22 Apr 2016 18:26:21 +0000 (20:26 +0200)]
avoid explicit document commit when setting/getting editor state

6 years agoIDEA-139647 Change signature: focus is lost while typing parameter name/value
Sergey Malenkov [Fri, 22 Apr 2016 17:44:14 +0000 (20:44 +0300)]
IDEA-139647 Change signature: focus is lost while typing parameter name/value

6 years agowrite module classpath if forked per module even if all tests were located in one...
Anna.Kozlova [Fri, 22 Apr 2016 17:20:45 +0000 (19:20 +0200)]
write module classpath if forked per module even if all tests were located in one module as classpath could be from the project as per-config (IDEA-155036)

6 years agoextract method: fold parameters after array acces was detected (IDEA-155094)
Anna.Kozlova [Fri, 22 Apr 2016 17:04:56 +0000 (19:04 +0200)]
extract method: fold parameters after array acces was detected (IDEA-155094)

6 years agotrim input name before validate; trimmed on create already (IDEA-155062)
Anna.Kozlova [Fri, 22 Apr 2016 16:01:35 +0000 (18:01 +0200)]
trim input name before validate; trimmed on create already (IDEA-155062)

6 years ago[java] introduces PsiType.annotate(); minor optimization
Roman Shevchenko [Fri, 22 Apr 2016 16:53:21 +0000 (18:53 +0200)]
[java] introduces PsiType.annotate(); minor optimization

6 years agofix drag behaviour when mouse press point is on gutter side of folding area
Dmitry Batrak [Fri, 22 Apr 2016 15:55:50 +0000 (18:55 +0300)]
fix drag behaviour when mouse press point is on gutter side of folding area

earlier for such a click mouse movement has been disabled (see commit 670e628), but we must also remember a line where click was made in this case, to move caret there if mouse press is continued with a drag, just like it's done when initial mouse press is inside gutter icons area

6 years agoRefactoring: BaseRefence and PyStringLiteralReference moved to community
Ilya.Kazakevich [Wed, 20 Apr 2016 20:05:55 +0000 (23:05 +0300)]
Refactoring: BaseRefence and PyStringLiteralReference moved to community

6 years agomocha: show actual file in Diff dialog (WEB-15907)
Sergey Simonchik [Fri, 22 Apr 2016 15:59:31 +0000 (18:59 +0300)]
mocha: show actual file in Diff dialog (WEB-15907)

6 years agobuilt-in web server — forbid untrusted access: check param in referer
Vladimir Krivosheev [Fri, 22 Apr 2016 15:55:22 +0000 (17:55 +0200)]
built-in web server — forbid untrusted access: check param in referer

6 years agoJBIterator: implement skip() for real
Gregory.Shrago [Fri, 22 Apr 2016 15:19:50 +0000 (18:19 +0300)]
JBIterator: implement skip() for real

6 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Fri, 22 Apr 2016 15:13:19 +0000 (17:13 +0200)]
Merge remote-tracking branch 'origin/master'

6 years ago[java] introduces PsiType.annotate()
Roman Shevchenko [Fri, 22 Apr 2016 15:12:06 +0000 (17:12 +0200)]
[java] introduces PsiType.annotate()

6 years agoCleanup (formatting; warnings)
Roman Shevchenko [Fri, 22 Apr 2016 14:56:30 +0000 (16:56 +0200)]
Cleanup (formatting; warnings)

6 years agoEA-76035 - PIEAE: PsiUtilCore.ensureValid appcode/146.1434 clion/146.1435
Anna.Kozlova [Fri, 22 Apr 2016 14:22:26 +0000 (16:22 +0200)]
EA-76035 - PIEAE: PsiUtilCore.ensureValid

6 years agoread action
Anna.Kozlova [Fri, 22 Apr 2016 14:18:31 +0000 (16:18 +0200)]
read action
EA-75848 - assert: SharedImplUtil.findFileElement

6 years agoreuse utility method; ensure unknown functional type reduced to Object before create...
Anna.Kozlova [Fri, 22 Apr 2016 14:15:16 +0000 (16:15 +0200)]
reuse utility method; ensure unknown functional type reduced to Object before create new psi
EA-75452 - IOE: PsiJavaParserFacadeImpl.createTypeElementFromText

6 years agoEA-78630 - CCE: TrivialFunctionalExpressionUsageInspection$ReplaceWithLambdaBodyFix...
Anna.Kozlova [Fri, 22 Apr 2016 13:57:58 +0000 (15:57 +0200)]
EA-78630 - CCE: TrivialFunctionalExpressionUsageInspection$ReplaceWithLambdaBodyFix.replaceWithLambdaBody

6 years agoEA-80364 - PIEAE: StubBasedPsiElementBase.getContainingFile
Anna.Kozlova [Fri, 22 Apr 2016 13:05:48 +0000 (15:05 +0200)]
EA-80364 - PIEAE: StubBasedPsiElementBase.getContainingFile

6 years agocollect smartpointers to survive reformat on writeAction ended
Anna.Kozlova [Fri, 22 Apr 2016 12:50:31 +0000 (14:50 +0200)]
collect smartpointers to survive reformat on writeAction ended
EA-80355 - PIEAE: CompositePsiElement.getContainingFile

6 years agocombine inline parameter with change signature refactoring
Anna.Kozlova [Fri, 22 Apr 2016 12:44:10 +0000 (14:44 +0200)]
combine inline parameter with change signature refactoring
EA-80956 - E: BaseRefactoringProcessor.run

6 years agosmTest: better naming
Sergey Simonchik [Fri, 22 Apr 2016 14:49:59 +0000 (17:49 +0300)]
smTest: better naming

6 years agoEA-81297 - NPE: ColorAndFontOptions.getPanels
Sergey Malenkov [Fri, 22 Apr 2016 14:04:57 +0000 (17:04 +0300)]
EA-81297 - NPE: ColorAndFontOptions.getPanels

6 years agojetbrains.dic: +comparison
Sergey Simonchik [Fri, 22 Apr 2016 13:51:41 +0000 (16:51 +0300)]
jetbrains.dic: +comparison

6 years agobuilt-in web server — forbid untrusted access
Vladimir Krivosheev [Fri, 22 Apr 2016 13:51:06 +0000 (15:51 +0200)]
built-in web server — forbid untrusted access

6 years agocleanup
Vladimir Krivosheev [Fri, 22 Apr 2016 13:33:26 +0000 (15:33 +0200)]
cleanup

6 years agoalways use watch icon when watches in variables enabled
Egor.Ushakov [Fri, 22 Apr 2016 13:21:39 +0000 (16:21 +0300)]
always use watch icon when watches in variables enabled

6 years agobuilt-in web server — forbid untrusted access
Vladimir Krivosheev [Fri, 22 Apr 2016 12:53:05 +0000 (14:53 +0200)]
built-in web server — forbid untrusted access

6 years agoIDEA-CR-10285 set limit to 60, fix quotes
Vladimir Krivosheev [Thu, 21 Apr 2016 13:29:14 +0000 (15:29 +0200)]
IDEA-CR-10285 set limit to 60, fix quotes

6 years agorest api: limit number of requests per minite and check is host trusted
Vladimir Krivosheev [Thu, 21 Apr 2016 11:49:07 +0000 (13:49 +0200)]
rest api: limit number of requests per minite and check is host trusted

6 years agoask the user to confirm if he wants to open the file
Vladimir Krivosheev [Thu, 21 Apr 2016 08:53:02 +0000 (10:53 +0200)]
ask the user to confirm if he wants to open the file

6 years agorest-api returns 200, built-in web server 404
Vladimir Krivosheev [Wed, 20 Apr 2016 12:25:54 +0000 (14:25 +0200)]
rest-api returns 200, built-in web server 404

6 years agorestore broken / redirection functionality
Vladimir Krivosheev [Tue, 19 Apr 2016 13:40:03 +0000 (15:40 +0200)]
restore broken / redirection functionality

6 years agoadd shtm/stm as html files
Vladimir Krivosheev [Tue, 19 Apr 2016 09:06:45 +0000 (11:06 +0200)]
add shtm/stm as html files

6 years agouse UUID instead of incremental int id
Vladimir Krivosheev [Mon, 18 Apr 2016 14:01:17 +0000 (16:01 +0200)]
use UUID instead of incremental int id

6 years agoany asset must be requested with valid Refer (from regular browser)
Vladimir Krivosheev [Mon, 18 Apr 2016 11:31:47 +0000 (13:31 +0200)]
any asset must be requested with valid Refer (from regular browser)

6 years agocheckAccess in DefaultWebServerPathHandler — because each implementation of WebServer...
Vladimir Krivosheev [Mon, 18 Apr 2016 10:39:16 +0000 (12:39 +0200)]
checkAccess in DefaultWebServerPathHandler — because each implementation of WebServerFileHandler must do it in any case

6 years agolog.warn if not found, fix comment
Vladimir Krivosheev [Fri, 15 Apr 2016 16:02:48 +0000 (18:02 +0200)]
log.warn if not found, fix comment

6 years agofix pubserve
Vladimir Krivosheev [Fri, 15 Apr 2016 14:48:23 +0000 (16:48 +0200)]
fix pubserve

6 years agoadd X-Content-Type-Options: nosniff
Vladimir Krivosheev [Fri, 15 Apr 2016 14:45:10 +0000 (16:45 +0200)]
add X-Content-Type-Options: nosniff

6 years agoset X-Frame-Options to SameOrigin (rest api — Deny)
Vladimir Krivosheev [Fri, 15 Apr 2016 12:44:08 +0000 (14:44 +0200)]
set X-Frame-Options to SameOrigin (rest api — Deny)

6 years ago/api/file — do not expose status in any case, always return 200
Vladimir Krivosheev [Fri, 15 Apr 2016 11:13:14 +0000 (13:13 +0200)]
/api/file — do not expose status in any case, always return 200

6 years agocleanup
Vladimir Krivosheev [Fri, 15 Apr 2016 11:03:20 +0000 (13:03 +0200)]
cleanup

6 years agoremove OpenFileXmlRpcHandler
Vladimir Krivosheev [Fri, 15 Apr 2016 08:28:38 +0000 (10:28 +0200)]
remove OpenFileXmlRpcHandler

6 years agoforbid POST requests from browser without Origin
Vladimir Krivosheev [Thu, 14 Apr 2016 06:16:56 +0000 (08:16 +0200)]
forbid POST requests from browser without Origin

6 years agocleanup
Vladimir Krivosheev [Wed, 13 Apr 2016 16:05:39 +0000 (18:05 +0200)]
cleanup

6 years agohost doesn't contain scheme
Vladimir Krivosheev [Wed, 13 Apr 2016 14:24:14 +0000 (16:24 +0200)]
host doesn't contain scheme

6 years agoclose connection if message > 8192
Vladimir Krivosheev [Wed, 13 Apr 2016 13:06:32 +0000 (15:06 +0200)]
close connection if message > 8192

6 years agodns rebinging fix for built-in web server
Vladimir Krivosheev [Wed, 13 Apr 2016 12:17:09 +0000 (14:17 +0200)]
dns rebinging fix for built-in web server

6 years agouse InetAddress.getLoopbackAddress()
Vladimir Krivosheev [Wed, 13 Apr 2016 09:37:31 +0000 (11:37 +0200)]
use InetAddress.getLoopbackAddress()

6 years agocheck Host
Vladimir Krivosheev [Wed, 13 Apr 2016 08:30:49 +0000 (10:30 +0200)]
check Host

6 years agoHttpRequestHandler by default is accessible only from any or loopback IP address...
Vladimir Krivosheev [Wed, 13 Apr 2016 07:37:21 +0000 (09:37 +0200)]
HttpRequestHandler by default is accessible only from any or loopback IP address — domain name is not resolved and, so, forbidden

6 years agomove isLocalOrigin to netty.kt (as in 145 branch)
Vladimir Krivosheev [Wed, 13 Apr 2016 05:47:37 +0000 (07:47 +0200)]
move isLocalOrigin to netty.kt (as in 145 branch)

6 years agotrust our chrome-extensions
Vladimir Krivosheev [Tue, 12 Apr 2016 14:55:59 +0000 (16:55 +0200)]
trust our chrome-extensions

6 years agoOpenFileHttpService — do not expose file status if not local origin and do not open...
Vladimir Krivosheev [Tue, 12 Apr 2016 10:28:33 +0000 (12:28 +0200)]
OpenFileHttpService — do not expose file status if not local origin and do not open hidden files

6 years agofix isOwnHostName and add tests
Vladimir Krivosheev [Mon, 11 Apr 2016 17:08:47 +0000 (19:08 +0200)]
fix isOwnHostName and add tests

6 years agocleanup
Vladimir Krivosheev [Mon, 11 Apr 2016 15:42:19 +0000 (17:42 +0200)]
cleanup

6 years agoconvert OpenFileHttpService to kotlin
Vladimir Krivosheev [Mon, 11 Apr 2016 15:41:58 +0000 (17:41 +0200)]
convert OpenFileHttpService to kotlin

6 years agocheck intermediate directories
Vladimir Krivosheev [Mon, 11 Apr 2016 14:34:34 +0000 (16:34 +0200)]
check intermediate directories

6 years agodon't expose file status if not local origin
Vladimir Krivosheev [Mon, 11 Apr 2016 14:16:24 +0000 (16:16 +0200)]
don't expose file status if not local origin

6 years agocleanup
Vladimir Krivosheev [Mon, 11 Apr 2016 13:22:33 +0000 (15:22 +0200)]
cleanup

6 years agoIDEA-CR-10038 check Referer as well
Vladimir Krivosheev [Mon, 11 Apr 2016 12:16:00 +0000 (14:16 +0200)]
IDEA-CR-10038 check Referer as well

6 years agoadd isAllowRequestOnlyFromLocalOrigin and enabled it by
Vladimir Krivosheev [Mon, 11 Apr 2016 11:39:04 +0000 (13:39 +0200)]
add isAllowRequestOnlyFromLocalOrigin and enabled it by

6 years ago[project] community project icon
Roman Shevchenko [Fri, 22 Apr 2016 12:54:30 +0000 (14:54 +0200)]
[project] community project icon

6 years agoa bit better fix to detect remote paths
Konstantin Bulenkov [Fri, 22 Apr 2016 12:53:23 +0000 (14:53 +0200)]
a bit better fix to detect remote paths

6 years agoCleanup (formatting; warnings)
Roman Shevchenko [Fri, 22 Apr 2016 12:46:03 +0000 (14:46 +0200)]
Cleanup (formatting; warnings)

6 years agoinitial preferred size for code fragment editor
Egor.Ushakov [Fri, 22 Apr 2016 12:22:35 +0000 (15:22 +0300)]
initial preferred size for code fragment editor

6 years agocorrectly set focus in view text dialog
Egor.Ushakov [Fri, 22 Apr 2016 12:20:09 +0000 (15:20 +0300)]
correctly set focus in view text dialog

6 years ago[groovy] support JsonBuilder (IDEA-98505)
Daniil Ovchinnikov [Thu, 21 Apr 2016 19:07:40 +0000 (22:07 +0300)]
[groovy] support JsonBuilder (IDEA-98505)

6 years agoIDEA-153192 (Support @CheckReturnValue on classes and packages) appcode/146.1431 clion/146.1433 phpstorm/146.1432
Bas Leijdekkers [Fri, 22 Apr 2016 10:48:09 +0000 (12:48 +0200)]
IDEA-153192 (Support @CheckReturnValue on classes and packages)

6 years agoshow in conflicts view only usages which are not safe to delete (IDEA-154982)
Anna.Kozlova [Fri, 22 Apr 2016 11:15:48 +0000 (13:15 +0200)]
show in conflicts view only usages which are not safe to delete (IDEA-154982)

6 years agochange signature from usage: disable reverse order fix (IDEA-155064)
Anna.Kozlova [Fri, 22 Apr 2016 10:34:21 +0000 (12:34 +0200)]
change signature from usage: disable reverse order fix (IDEA-155064)

6 years agoIDEA-154727 lst: VCS annotations are not visible while base revision is loading
Aleksey Pivovarov [Fri, 22 Apr 2016 10:42:17 +0000 (13:42 +0300)]
IDEA-154727 lst: VCS annotations are not visible while base revision is loading

6 years agoFixed test data
Yaroslav Lepenkin [Fri, 22 Apr 2016 11:12:59 +0000 (14:12 +0300)]
Fixed test data

6 years agoEnterHandler refactoring: indent logic moved to getLineIndent()
Rustam Vishnyakov [Fri, 22 Apr 2016 10:59:04 +0000 (13:59 +0300)]
EnterHandler refactoring: indent logic moved to getLineIndent()

6 years ago'Compile ...' action renamed to 'Recompile ...' (IDEA-32991)
Eugene Zhuravlev [Fri, 22 Apr 2016 11:10:00 +0000 (13:10 +0200)]
'Compile ...' action renamed to 'Recompile ...' (IDEA-32991)

6 years agomake sure default resourse patterns are loaded if corresponding tag is missing from...
Eugene Zhuravlev [Fri, 22 Apr 2016 10:12:54 +0000 (12:12 +0200)]
make sure default resourse patterns are loaded if corresponding tag is missing from xml (IDEA-154638)

6 years agoIDEA-154441 Parameter info grabs focus from editor if two projects are open webstorm/146.1430
Denis Fokin [Fri, 22 Apr 2016 09:40:27 +0000 (12:40 +0300)]
IDEA-154441 Parameter info grabs focus from editor if two projects are open

6 years agoIDEA-155043 Can't grab inactive scroll bar on OS X
Sergey Malenkov [Fri, 22 Apr 2016 09:39:39 +0000 (12:39 +0300)]
IDEA-155043 Can't grab inactive scroll bar on OS X

6 years agodisable delegation of move home/end if component is a text component
Konstantin Bulenkov [Fri, 22 Apr 2016 09:20:42 +0000 (11:20 +0200)]
disable delegation of move home/end if component is a text component

6 years agopush down api generify; extract abstract dialog
Anna.Kozlova [Thu, 21 Apr 2016 18:25:02 +0000 (20:25 +0200)]
push down api generify; extract abstract dialog

6 years agopush down api prettify after (IDEA-CR-8676)
Anna.Kozlova [Thu, 21 Apr 2016 17:05:11 +0000 (19:05 +0200)]
push down api prettify after (IDEA-CR-8676)

6 years agoJavafx: Don't allow renaming built-in $controller property, take two. Fixed boolean...
Pavel Dolgov [Thu, 21 Apr 2016 16:50:10 +0000 (19:50 +0300)]
Javafx: Don't allow renaming built-in $controller property, take two. Fixed boolean getter generation and renaming. Utility methods simplified. Tests added (IDEA-153758, IDEA-153751)

6 years agocache text in LazyParseableElement even when parsed appcode/146.1429 clion/146.1428
peter [Fri, 22 Apr 2016 06:18:11 +0000 (08:18 +0200)]
cache text in LazyParseableElement even when parsed

6 years agosave some memory in PsiClass member cache
peter [Fri, 22 Apr 2016 06:15:45 +0000 (08:15 +0200)]
save some memory in PsiClass member cache