Commit Graph
2372 Commits
Author SHA1 Message Date
Dmitry Cherniachenko bb8ba29953 Remove usages and deprecate some obsolete StringUtil methods 2017-05-13 15:41:36 +03:00
Roman Shevchenko b548f3881c [platform] updates modular JDK signature (the last place) 2017-05-12 16:14:14 +02:00
nik ca34c65b09 project model: store configurations of facets imported from external sources in a separate component
This is needed to store such configurations in a separate file (IDEA-171877) while saving configurations of regular manually created facets in *.iml file.
2017-05-11 15:00:37 +03:00
Alexey Kudravtsev 920d5b4fba removed default file header, because it adds no information but subtracts attention and space 2017-05-11 13:39:07 +03:00
Dmitry Batkovich 7e7f48b8e6 javac ast indices: remove redundant field 2017-05-10 16:15:46 +03:00
Dmitry Batkovich 0ae2783e76 javac ast indices: remove some unuseful logging 2017-05-10 14:18:44 +03:00
Roman Shevchenko bed692fa81 Cleanup (formatting) 2017-05-09 10:04:43 +02:00
nik 859a8be594 javadoc added 2017-05-04 17:49:09 +03:00
Eugene Zhuravlev b219c37ac8 make sourcepath checks pass for newer builds of javac9 (IDEA-172212) 2017-05-04 15:43:40 +02:00
nik 8de507aa70 project model: distinguish artifacts imported from external models
This information can be used to show a warning if user tries to manually change an artifact imported from an external model in the Project Structure dialog (IDEA-171948). This information won't be saved in artifact configuration files until we implement functionality to store such artifacts separately (and enable 'store.imported.project.elements.separately' registry key), because otherwise it would lead to massive changes in files under .idea/artifacts.
2017-05-03 10:21:20 +03:00
Dmitry Batkovich 283dfa0957 implement SuperClassHasFrequentlyUsedInheritors inspection over compiler indices 2017-05-02 18:26:19 +03:00
Anna.Kozlova e018f574e4 anonymous -> lambda 2017-04-28 10:04:05 +02:00
Roman Shevchenko 40ed9f6221 Cleanup (warnings; typos; formatting) 2017-04-27 17:46:31 +02:00
Dmitry Batkovich 51233f3f62 method chains search: do not create large number of index requests 2017-04-27 15:10:46 +03:00
Anna.Kozlova 583a728f89 cleanup redundant type arguments 2017-04-27 12:37:01 +02:00
Eugene Zhuravlev 23a1ede1f3 jarRepository settings ui 2017-04-26 11:52:03 +02:00
nik 11926a141e build tests: don't add dummy classes root when running under JDK 9 (IDEA-CR-20468)
Previously 'file://null' URL was added to JDK classes roots, it looks strange and may lead to problems.
2017-04-25 15:59:43 +03:00
Dmitry Batkovich 967ef9f05e javac ast indices: do not add a reference to index when qualifier type is not resolved 2017-04-25 15:23:19 +03:00
Dmitry Batkovich af57b8414a method chain completion: suggest chains for collection of elements 2017-04-20 18:46:21 +03:00
Dmitry Batkovich 4d79d6635a method chain completion: suggest chains for arrays 2017-04-20 16:12:08 +03:00
Alexey Kudravtsev 87298cff6d fixed for jdk9 2017-04-20 15:42:46 +03:00
nik 6b390be60b external build: mark more target types as file-based 2017-04-20 13:58:43 +03:00
Dmitry Batkovich e9e0d45eb2 Merge branch 'db/index-id' 2017-04-20 12:29:35 +03:00
Dmitry Batkovich 1cd85cfa2a javac ast indices: store data about method with array and "collection" return types 2017-04-20 12:23:55 +03:00
nik 063092c922 fixed memory leak in DependentModulesCompilationTest 2017-04-20 11:17:33 +03:00
nik b068bbcd30 external build: introduced 'file based' flag for target types
It's needed to determine whether the build system may treat target without source roots as 'dummy' to skip their dependencies while building the targets graph. Previously this flag was hardcoded for specific types in BuildTargetIndexImpl#isDummy method.
2017-04-20 11:15:19 +03:00
nik fdeae7754c external build: process dummy target during build along with real targets
This is needed to ensure that obsolete output files are removed (IDEA-171661).
2017-04-19 15:56:05 +03:00
Dmitry Batkovich 874a7b88cd javac ast indices: add tests for signature index 2017-04-19 13:40:55 +03:00
Dmitry Batkovich 14d6261ea5 IndexId as a class, not an interface (immutability of getName() method) 2017-04-18 19:17:53 +03:00
Dmitry Batkovich d2f322178d extract base class from indexing.ID (enumerate to indices.enum only file based indices) 2017-04-17 15:53:11 +03:00
Dmitry Batkovich 1299e13d2c javac ast indices: add clarifying logs 2017-04-14 17:09:58 +03:00
Eugene Zhuravlev 29acb3c08a honor output file encoding when using writer (IDEA-171453) 2017-04-14 15:59:58 +03:00
Roman Shevchenko 4d07a569fb [java] use the same Netty/unsafe setting for forked compiler (IDEA-170124) 2017-04-13 11:26:15 +02:00
Roman Shevchenko 5e55050a49 Cleanup (duplication; dead code; warnings; typos) 2017-04-13 11:14:27 +02:00
Dmitry Batkovich b5c473193d javac ast indices: add a test 2017-04-13 11:56:40 +03:00
Dmitry Batkovich d1736a41fa javac ast indices: fix NPE 2017-04-13 11:55:38 +03:00
Roman Shevchenko a5ef65edf9 [java] logs external compiler command line (IDEA-170124) 2017-04-12 21:05:42 +02:00
Roman Shevchenko 11d9f16507 [java] logs compilation mode (IDEA-170124) 2017-04-12 17:41:18 +02:00
Dmitry Batkovich 8114f0753b Merge branch 'db/javac-index-qualifier' 2017-04-12 16:48:48 +03:00
Dmitry Batkovich 6b6b57bf3e javac ast indices: store actual qualifier type for method call (rewrite resolution algorithm) 2017-04-12 16:29:38 +03:00
Dmitry Batkovich c650934a92 javac ast indices: store actual qualifier type for method call (cleanup) 2017-04-12 13:00:26 +03:00
Dmitry Batkovich 24dd0263bc javac ast indices: store actual qualifier type for method call (use another implementation to find qualifier for non-static unqualified method) 2017-04-12 12:44:07 +03:00
Roman Shevchenko ecf47c4fb1 [java] explicit module cycle compilation error (IDEA-168811) 2017-04-11 17:21:39 +02:00
Roman Shevchenko 138b4b6a6d Cleanup (warnings; typos; formatting) 2017-04-11 17:20:07 +02:00
Dmitry Batkovich 6d503e3c08 javac ast indices: store actual qualifier type for method call 2017-04-11 17:33:10 +03:00
Dmitry Batkovich 1b66fe8e6c javac ast indices: store actual qualifier type for method call 2017-04-11 17:24:49 +03:00
Roman Shevchenko befc809e2d [java] allows one module-info file in either source or test root - compilation (IDEA-171221) 2017-04-11 15:33:06 +02:00
Roman Shevchenko ce8da76d32 Cleanup (duplication) 2017-04-11 10:34:24 +02:00
Roman Shevchenko d00b08722b [java] drops outdated compiler option 2017-04-11 10:33:05 +02:00
Eugene Zhuravlev 46465ffbc6 add sample category configuration 2017-04-10 11:52:13 +02:00