Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into develar/is
Browse files Browse the repository at this point in the history
# Conflicts:
#	java/java-tests/testSrc/com/intellij/codeInspection/OfflineInspectionResultViewTest.java
#	platform/analysis-impl/src/com/intellij/codeInsight/daemon/impl/HighlightInfoType.java
#	platform/lang-impl/src/com/intellij/codeInspection/actions/CodeCleanupAction.java
#	platform/lang-impl/src/com/intellij/codeInspection/actions/CodeInspectionAction.java
  • Loading branch information
develar committed Jun 22, 2016
2 parents 551cedc + 85816de commit 38ae401
Show file tree
Hide file tree
Showing 1,436 changed files with 36,136 additions and 24,897 deletions.
4 changes: 2 additions & 2 deletions .idea/libraries/JSch.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/libraries/Netty.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/libraries/pty4j.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ protected String getTestDataPath() {
return super.getTestDataPath() + "/gen/";
}

public void testOptions() throws Exception {
doTest("options/");
}

public void testSimple() throws Exception {
doTest("simple/");
}
Expand Down
15 changes: 15 additions & 0 deletions RegExpSupport/testData/RETest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,21 @@
</test>
</regressions>

<options>
<test host="com.intellij.psi.impl.JavaRegExpHost">
<pattern><![CDATA[(?i<error descr="Unknown inline option flag">Z</error>m)abc]]></pattern>
<expected>OK</expected>
</test>
<test host="com.intellij.psi.impl.JavaRegExpHost">
<pattern>(?idmsuxU)nice</pattern>
<expected>OK</expected>
</test>
<test host="com.intellij.psi.impl.JavaRegExpHost">
<pattern verify="false">(?idm-suxU)one(?suxU-idm)two</pattern>
<expected>OK</expected>
</test>
</options>

<test>
<pattern>abc)</pattern>
<expected>ERR</expected>
Expand Down
Binary file modified bin/WinLauncher/WinLauncher.exe
Binary file not shown.
Binary file modified bin/WinLauncher/WinLauncher64.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion bin/scripts/unix/idea.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ message()
if [ -n "`which zenity`" ]; then
zenity --error --title="$TITLE" --text="$1"
elif [ -n "`which kdialog`" ]; then
kdialog --error --title "$TITLE" "$1"
kdialog --error "$1" --title "$TITLE"
elif [ -n "`which xmessage`" ]; then
xmessage -center "ERROR: $TITLE: $1"
elif [ -n "`which notify-send`" ]; then
Expand Down
4 changes: 3 additions & 1 deletion build/conf/ideaCE-launcher.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
IDS_JDK_ONLY=true
IDS_APP_TITLE=__IDE-NAME__ Launcher
IDS_VM_OPTIONS_PATH=%USERPROFILE%\\.__PRODUCT_PATHS_SELECTOR__
IDS_VM_OPTION_ERRORFILE=-XX:ErrorFile=%USERPROFILE%\\java_error_in___product_uc___%p.log
IDS_VM_OPTION_HEAPDUMPPATH=-XX:HeapDumpPath=%USERPROFILE%\\java_error_in___product_uc__.hprof
IDC_WINLAUNCHER=__IDE-NAME___LAUNCHER
IDS_PROPS_ENV_VAR=__IDE-NAME___PROPERTIES
IDS_VM_OPTIONS_ENV_VAR=__IDE-NAME___VM_OPTIONS
IDS_ERROR_LAUNCHING_APP=Error launching __IDE-NAME__
IDS_VM_OPTIONS=-Didea.paths.selector=__PRODUCT_PATHS_SELECTOR__ -XX:ErrorFile=%USERPROFILE%\\java_error_in___product_uc___%p.log -XX:HeapDumpPath=%USERPROFILE%\\java_error_in___product_uc__.hprof -Didea.jre.check=true
IDS_VM_OPTIONS=-Didea.paths.selector=__PRODUCT_PATHS_SELECTOR__ -Didea.jre.check=true
4 changes: 3 additions & 1 deletion build/conf/ideaCE64-launcher.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ IDS_JDK_ONLY=true
IDS_JDK_ENV_VAR=IDEA_JDK_64
IDS_APP_TITLE=__IDE-NAME__ Launcher
IDS_VM_OPTIONS_PATH=%USERPROFILE%\\.__PRODUCT_PATHS_SELECTOR__
IDS_VM_OPTION_ERRORFILE=-XX:ErrorFile=%USERPROFILE%\\java_error_in___product_uc___%p.log
IDS_VM_OPTION_HEAPDUMPPATH=-XX:HeapDumpPath=%USERPROFILE%\\java_error_in___product_uc__.hprof
IDC_WINLAUNCHER=__IDE-NAME___LAUNCHER
IDS_PROPS_ENV_VAR=__IDE-NAME___PROPERTIES
IDS_VM_OPTIONS_ENV_VAR=__IDE-NAME__64_VM_OPTIONS
IDS_ERROR_LAUNCHING_APP=Error launching __IDE-NAME__
IDS_VM_OPTIONS=-Didea.paths.selector=__PRODUCT_PATHS_SELECTOR__ -XX:ErrorFile=%USERPROFILE%\\java_error_in___product_uc___%p.log -XX:HeapDumpPath=%USERPROFILE%\\java_error_in___product_uc__.hprof -Didea.jre.check=true
IDS_VM_OPTIONS=-Didea.paths.selector=__PRODUCT_PATHS_SELECTOR__ -Didea.jre.check=true
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class MacDistributionBuilder {

def sshTaskLoaderRef = "SSH_TASK_CLASS_LOADER";
Path pathSsh = new Path(ant.project)
pathSsh.createPathElement().setLocation(new File("$communityHome/lib/jsch-0.1.52.jar"))
pathSsh.createPathElement().setLocation(new File("$communityHome/lib/jsch-0.1.53.jar"))
pathSsh.createPathElement().setLocation(new File("$communityHome/lib/ant/lib/ant-jsch.jar"))
ant.project.addReference(sshTaskLoaderRef, new SplitClassLoader(ant.project.getClass().getClassLoader(), pathSsh, ant.project,
["SSHExec", "SSHBase", "LogListener", "SSHUserInfo"] as String[]))
Expand Down
2 changes: 1 addition & 1 deletion build/scripts/download_kotlin.gant
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import static org.jetbrains.jps.idea.IdeaProjectLoader.guessHome

includeTargets << new File("${guessHome(this)}/build/scripts/utils.gant")

String kotlinBuildConfigurationOnPublicTeamCity = "Kotlin_101andRc_Idea142branch150versionNoTests"
String kotlinBuildConfigurationOnPublicTeamCity = "Kotlin_102_Idea145branch160versionNoTests"

target('default': 'Ensures that build/kotlinc directory contains JARs from Kotlin plugin compatible with current IDEA sources. These JARs are used by build scripts.') {
def communityHome = guessHome(this)
Expand Down
6 changes: 3 additions & 3 deletions build/scripts/libLicenses.gant
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ libraryLicense(name: "Jaxen", version: "", license: "modified Apache", url: "htt
libraryLicense(name: "jayatana", libraryName: "jayatana", version: "1.2.4", license: "MIT License", url: "https://code.google.com/p/java-swing-ayatana/", licenseUrl: "http://opensource.org/licenses/mit-license.php")
libraryLicense(name: "JCIP Annotations", libraryName: "jcip", license: "Creative Commons Attribution License", url: "http://www.jcip.net", licenseUrl: "http://creativecommons.org/licenses/by/2.5")
libraryLicense(name: "JDOM", version: "1.1 (with patches by JetBrains)", license: "modified Apache", url: "http://www.jdom.org/", licenseUrl: "http://www.jdom.org/docs/faq.html#a0030")
libraryLicense(name: "JediTerm", libraryName: "jediterm-pty", version: "0.2", license: "LGPL 2", url: "https://github.com/traff/jediterm", licenseUrl: "https://github.com/traff/jediterm/blob/master/COPYING")
libraryLicense(name: "JediTerm", libraryName: "jediterm-pty", version: "2.2", license: "LGPL 2", url: "https://github.com/JetBrains/jediterm", licenseUrl: "https://github.com/JetBrains/jediterm/blob/master/COPYING")
libraryLicense(name: "JEuclid", libraryName: "jeuclid-core-3.1.9.jar", version: "3.1.9", license: "Apache 2.0", url: "http://jeuclid.sourceforge.net", licenseUrl:"http://sourceforge.net/p/jeuclid/code/ci/default/tree/LICENSE.txt")
libraryLicense(name: "JGit", libraryName: "jackson", version: "2.5.1", license: "Apache 2.0", licenseUrl: "http://www.eclipse.org/org/documents/edl-v10.php", url: "https://github.com/FasterXML/jackson")
libraryLicense(name: "JGit", libraryName: "jgit", version: "4.0", license: "Eclipse Distribution License 1.0", licenseUrl: "http://www.eclipse.org/org/documents/edl-v10.php", url: "https://eclipse.org/jgit/")
Expand All @@ -238,7 +238,7 @@ libraryLicense(name: "jgraphx", libraryName: "jgraphx-3.4.0.1", version: "3.4.0.
libraryLicense(name: "JNA", libraryName: "jna", version: "4.1.0", license: "LGPL 2.1", url: "https://github.com/java-native-access/jna", licenseUrl: "http://www.opensource.org/licenses/lgpl-2.1.php")
libraryLicense(name: "jsch-agent-proxy for svnkit trilead", libraryName: "jsch.agentproxy.svnkit-trilead-ssh2.jar", version: "0.0.7", license: "BSD", url: "https://github.com/ymnk/jsch-agent-proxy", licenseUrl: "https://github.com/ymnk/jsch-agent-proxy/blob/master/LICENSE.txt")
libraryLicense(name: "jsch-agent-proxy", libraryName: "jsch-agent-proxy", version: "0.0.7", license: "BSD", url: "https://github.com/ymnk/jsch-agent-proxy", licenseUrl: "https://github.com/ymnk/jsch-agent-proxy/blob/master/LICENSE.txt")
libraryLicense(name: "JSch", libraryName: "JSch", version: "0.1.52", license: "BSD", url: "http://www.jcraft.com/jsch/", licenseUrl: "http://www.jcraft.com/jsch/LICENSE.txt")
libraryLicense(name: "JSch", libraryName: "JSch", version: "0.1.53", license: "BSD", url: "http://www.jcraft.com/jsch/", licenseUrl: "http://www.jcraft.com/jsch/LICENSE.txt")
libraryLicense(name: "json-path", libraryName: "json-path-0.8.0.jar", version: "0.8.0", license: "Apache 2.0", url: "http://code.google.com/p/json-path/", licenseUrl: "http://apache.org/licenses/LICENSE-2.0")
libraryLicense(name: "json-smart", libraryName: "json-smart-1.1.1.jar", version: "1.1.1", license: "Apache 2.0", url: "http://code.google.com/p/json-smart/", licenseUrl: "http://apache.org/licenses/LICENSE-2.0")
libraryLicense(name: "jsr305", libraryName: "jsr305", version: "snapshot", license: "BSD", url: "http://code.google.com/p/jsr-305/", licenseUrl: "http://code.google.com/p/jsr-305/source/browse/trunk/ri/LICENSE")
Expand Down Expand Up @@ -279,7 +279,7 @@ libraryLicense(name: "Plexus Utils", libraryName: "plexus-utils-1.5.5.jar", vers
libraryLicense(name: "pockets", attachedTo: "python-helpers", version: "0.2.4", license: "BSD", url: "http://pockets.readthedocs.org/")
libraryLicense(name: "protobuf", version: "2.5.0", license: "New BSD", url: "http://code.google.com/p/protobuf/", licenseUrl: "https://github.com/google/protobuf/blob/master/LICENSE")
libraryLicense(name: "proxy-vole", libraryName: "proxy-vole", version: "20131209", license: "New BSD License", url: "http://code.google.com/p/proxy-vole/", licenseUrl: "http://opensource.org/licenses/BSD-3-Clause")
libraryLicense(name: "pty4j", libraryName: "pty4j", version: "0.6", license: "Eclipse Public License v1.0", url: "https://github.com/traff/pty4j")
libraryLicense(name: "pty4j", libraryName: "pty4j", version: "0.7", license: "Eclipse Public License v1.0", url: "https://github.com/traff/pty4j")
libraryLicense(name: "PureJavaComm", libraryName: "purejavacomm", version: "0.0.16", license: "BSD", url: "http://www.sparetimelabs.com/purejavacomm")
libraryLicense(name: "ReflectASM", libraryName: "reflectasm-1.0.7.jar", version: "1.0.7", license: "BSD", url: "https://github.com/EsotericSoftware/reflectasm", licenseUrl: "http://opensource.org/licenses/BSD-3-Clause")
libraryLicense(name: "Relax NG Object Model", libraryName: "rngom-20051226-patched.jar", license: "MIT", url: "http://java.net/projects/rngom/", licenseUrl: "http://www.opensource.org/licenses/mit-license.php")
Expand Down
14 changes: 7 additions & 7 deletions build/scripts/utils.gant
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ binding.setVariable("commonJvmArgsForTests", {
"-Didea.config.path=${p("teamcity.build.tempDir")}/config",
"-Didea.system.path=${p("teamcity.build.tempDir")}/system",
"-Xdebug",
"-XX:ReservedCodeCacheSize=240m",
"-XX:ReservedCodeCacheSize=300m",
"-XX:SoftRefLRUPolicyMSPerMB=50",
"-XX:+UseConcMarkSweepGC",
"-XX:-OmitStackTraceInFastThrow",
Expand Down Expand Up @@ -887,9 +887,9 @@ private bundledJDK(boolean win64) {
requireProperty("artifact.linux.no.jdk", "true")
requireProperty("artifact.mac.no.jdk", "true")
requireProperty("jdk.oracle.win", "jdk8u")
requireProperty("jdk.win", "openjdk.1.8")
requireProperty("jdk.mac", "openjdk.1.8")
requireProperty("jdk.linux", "openjdk.1.8")
requireProperty("jdk.win", "jbre8")
requireProperty("jdk.mac", "jbre8")
requireProperty("jdk.linux", "jbre8")

if (new File("${home}/build/jdk").exists()) {
def jdkDir = new File("${home}/build/jdk/win")
Expand All @@ -898,8 +898,8 @@ private bundledJDK(boolean win64) {
extractRedistJre(winJDK, "${paths.sandbox}/jdk.oracle.win/jre")
}
if (p("jdk.win") != "false" && (jdkDir.exists() && jdkDir.isDirectory())) {
setProperty("winCustomJDKx32", getPathToBundledJDK(jdkDir, p("jdk.win"), (win64 ? "x64.tar.gz": "x32.tar.gz")))
extractRedistJre(winCustomJDKx32, "${paths.sandbox}/jdk.win")
setProperty("winCustomJDKx32", getPathToBundledJDK(jdkDir, p("jdk.win"), (win64 ? "x64.tar.gz": "x86.tar.gz")))
extractRedistJre(winCustomJDKx32, "${paths.sandbox}/jdk.win/jre")
}
jdkDir = new File("${home}/build/jdk/mac")
if (p("jdk.mac") != "false" && (jdkDir.exists() && jdkDir.isDirectory())) {
Expand All @@ -908,7 +908,7 @@ private bundledJDK(boolean win64) {
jdkDir = new File("${home}/build/jdk/linux")
if (p("jdk.linux") != "false" && (jdkDir.exists() && jdkDir.isDirectory())) {
setProperty("linuxJDK", getPathToBundledJDK(jdkDir, p("jdk.linux"), ".tar.gz"))
extractRedistJre(linuxJDK, "${paths.sandbox}/jdk.linux")
extractRedistJre(linuxJDK, "${paths.sandbox}/jdk.linux/jre")
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions images/src/META-INF/ImagesPlugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<extensions defaultExtensionNs="com.intellij">
<search.topHitProvider implementation="org.intellij.images.options.impl.ImagesOptionsTopHitProvider"/>
<applicationConfigurable groupId="editor" instance="org.intellij.images.options.impl.OptionsConfigurabe" id="Images" displayName="Images"/>
<applicationConfigurable groupId="editor" instance="org.intellij.images.options.impl.ImagesConfigurable" id="Images" displayName="Images"/>
<fileEditorProvider implementation="org.intellij.images.editor.impl.ImageFileEditorProvider"/>
<selectInTarget implementation="org.intellij.images.thumbnail.impl.ThumbnailSelectInTarget"/>

Expand All @@ -19,7 +19,7 @@
<fileLookupInfoProvider implementation="org.intellij.images.completion.ImageLookupInfoProvider"/>
<documentationProvider implementation="org.intellij.images.fileTypes.ImageDocumentationProvider"/>

<statistics.usagesCollector implementation="org.intellij.images.statistics.BackgroundUsageCollector"/>
<statistics.usagesCollector implementation="org.intellij.images.statistics.BackgroundImagesUsageCollector"/>
</extensions>

<actions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.Messages;
import com.intellij.openapi.util.SystemInfo;
Expand All @@ -36,7 +35,7 @@
import org.intellij.images.fileTypes.ImageFileTypeManager;
import org.intellij.images.options.Options;
import org.intellij.images.options.OptionsManager;
import org.intellij.images.options.impl.OptionsConfigurabe;
import org.intellij.images.options.impl.ImagesConfigurable;

import java.io.File;
import java.util.Map;
Expand All @@ -56,7 +55,7 @@ public void actionPerformed(AnActionEvent e) {
Messages.showErrorDialog(project,
ImagesBundle.message("error.empty.external.editor.path"),
ImagesBundle.message("error.title.empty.external.editor.path"));
OptionsConfigurabe.show(project);
ImagesConfigurable.show(project);
}
else {
if (files != null) {
Expand Down Expand Up @@ -94,7 +93,7 @@ public void actionPerformed(AnActionEvent e) {
}
catch (ExecutionException ex) {
Messages.showErrorDialog(project, ex.getLocalizedMessage(), ImagesBundle.message("error.title.launching.external.editor"));
OptionsConfigurabe.show(project);
ImagesConfigurable.show(project);
}
}
}
Expand Down
Loading

0 comments on commit 38ae401

Please sign in to comment.