Commit Graph

16382 Commits

Author SHA1 Message Date
Roman Shevchenko
8ace6fe105 [tests] filtering out unrelated quickfix (instead of adding it to a test data)
GitOrigin-RevId: 9491cb92e6807594ef8c7c5f30179ff03069332a
2020-12-02 15:41:32 +00:00
Nikolay Chashnikov
87d4895614 [workspace model] properly report IO and xml exceptions happened during project configuration reloading (EA-246041)
GitOrigin-RevId: 0a3a9c76811865b0899cdc3f15bd649c0d1be039
2020-12-02 15:39:42 +00:00
Sergey Malenkov
62eb03ebdb IDEA-208072: "File Nesting" support in "Project Files"
GitOrigin-RevId: fcde9b0deee02d7ab02033f703985d725245c1be
2020-12-02 13:37:16 +00:00
Sergey Patrikeev
eabbce6ddf Indexing diagnostics: tests: comment out HTML/JSON checks until the failure reason is detected.
GitOrigin-RevId: ce3705f51578b65823ed4dbd84e2a99cb1ec9722
2020-12-02 13:15:31 +00:00
Sergey Patrikeev
9d39273482 Indexing diagnostics: test that HTML file is generated for every JSON file.
GitOrigin-RevId: 562a63611d71a208e409a2a29a0e7ec9dff40c2e
2020-12-02 11:44:16 +00:00
Sergey Patrikeev
ab1ff60a1c Indexing diagnostics: save JsonPercentages as numerator/denominator.
GitOrigin-RevId: 30766a9cc6c36350df229f18f00dc69ae1ef7c5b
2020-12-02 11:44:07 +00:00
Sergey Patrikeev
e6c62f6265 Indexing diagnostics: dump presentable HTML file along with raw diagnostic json.
GitOrigin-RevId: 52eb9e789905bb96584b796c2837ecf6fa338959
2020-12-02 11:44:05 +00:00
Sergey Patrikeev
7d005b98b5 Indexing diagnostics: make the diagnostic jsons deserializable.
GitOrigin-RevId: 3c5d0a23d6c1bba955b24a4f244bd21ab528c79d
2020-12-02 11:44:02 +00:00
Artemiy Sartakov
f4feef1a9e InconsistentTextBlockIndentInspection: added inspection to detect text blocks with tabs and spaces in indent (IDEA-254690)
GitOrigin-RevId: 71721bc908e6226e7d1dfcfcd2b4ab3c435337e2
2020-12-02 04:01:21 +00:00
Dmitry.Krasilschikov
ab3b050a6b fix JavaWebReferenceTest test
GitOrigin-RevId: a32dae47b98023deb7a559afe31ef9620c84d668
2020-12-01 18:03:44 +00:00
Bas Leijdekkers
15b90c1063 Property detection should ignore parentheses (IDEA-256052)
GitOrigin-RevId: 565351beabfd7dad98cee890a77a219809b2ad9e
2020-12-01 14:30:25 +00:00
Aleksandra Zolushkina
9cb1040f7f Fix ContractCheckTest.testMutationSignatureProblems
GitOrigin-RevId: 2f4644de92bca6bf7cc6d518947a65741d3dd4e3
2020-11-30 22:18:40 +00:00
Aleksandra Zolushkina
a75449337f Fix LossyEncodingTest.testDetectWrongEncoding
GitOrigin-RevId: cb885caebf0f15d2e34369d6a3b647e05a437657
2020-11-30 22:18:14 +00:00
Aleksandra Zolushkina
e9b6ffc054 Fix testDetectWrongEncoding
GitOrigin-RevId: c5d463c3c002531ddc5fa955cdc14b530331eb04
2020-11-30 22:18:04 +00:00
igor.kulakov
b8b1e9ff1c IDEA-250044 proofreading resources
GitOrigin-RevId: 48143e15df526ff9494e3575578c59a487dd2b12
2020-11-30 22:17:21 +00:00
Andrey.Cherkasov
95a12db895 IDEA-253512: Fixes after review
GitOrigin-RevId: 0c9d42259d6a5169c449b536aa4e7b982446b10a
2020-11-30 15:12:44 +00:00
Tagir Valeev
209b2a4708 [java-dfa] Ignore Nullable annotations on Guava functional interfaces
Fixes IDEA-170548 Dereferencing Guava Function lambda parameters "may produce NPE" in IDEA 2017.1

GitOrigin-RevId: f3093faf2251c2968480f61b6560e8bcb46b137e
2020-11-30 11:02:21 +00:00
Tagir Valeev
1c8d47292f ConsoleViewExceptionFilterPerformanceTest: comment added to explain why write-action is needed (IJ-CR-4219)
GitOrigin-RevId: 7ce6d9e9a754c0e2d4f6ecb5ebc68ada72e65983
2020-11-27 13:00:01 +00:00
Rustam Vishnyakov
a5c47a8171 Extract FileSetDescriptorFactory EP and remove codeStyle->analysis module dependency
GitOrigin-RevId: 0fafcb4b0eaa0ddca453411e67cd7b3842445c22
2020-11-26 14:02:12 +00:00
Alexey Kudravtsev
4937b3433b get rid of "watched roots must be absolute" warning in test console
GitOrigin-RevId: 78c62060ee4afbe5b21567b735eea3d5e8d141ee
2020-11-26 12:46:59 +00:00
Anna Kozlova
3a646d1f0c java create local from usage: do not duplicate comments inside variable initializer (IDEA-256107)
GitOrigin-RevId: 3f9298e0d38ca0840a57922a7b9eb23c27277668
2020-11-26 12:11:11 +00:00
Ilyas Selimov
88b3709251 IDEA-224056 - prevent visiting local classes inside methods during launching unused declaration inspection
GitOrigin-RevId: 5c6edec3a58e4237e410dc54f9762f9d7149f292
2020-11-26 08:20:59 +00:00
Dmitry Batkovich
9fc2324704 use DumbModeAccessType#ignoreDumbMode() methods instead of old api
GitOrigin-RevId: 7d13eaa7b86f2502d6269f8e280e00e441f3ca7f
2020-11-26 07:46:07 +00:00
Tagir Valeev
301c703f5d [java-dfa] Check fail result for constructors
GitOrigin-RevId: ce02739377b5d4fc8c2800e6450163bacef80152
2020-11-26 02:54:58 +00:00
Tagir Valeev
2665266a81 [java-dfa] Fix diverged state for known methods
GitOrigin-RevId: 6fc2b7259f289356e80d181f0e321af2481f0106
2020-11-26 02:54:57 +00:00
Dmitry Batkovich
47c58170a6 index: make FileBasedIndex#ignoreDumbMode lambda friendly
GitOrigin-RevId: 3009a96ae1013493afd39d93b7ad7ef8fd7956ac
2020-11-25 16:04:40 +00:00
Andrey.Cherkasov
d4dbc49dab IDEA-253512: Warn about possible O(N^2) in AbstractSet#removeAll calls
GitOrigin-RevId: 76f59d4f019482420142cdf760be3f9e4c7f4d1e
2020-11-25 15:18:45 +00:00
Ilyas Selimov
12b7de5e77 IDEA-224056 - handle unused local declarations in lambda expressions
GitOrigin-RevId: 5861b958e9ca05deec08ec9ae8f271b60a6b8a16
2020-11-25 07:07:07 +00:00
Andrey.Cherkasov
54ac372e2d Add tests for IDEA-173818
GitOrigin-RevId: 6646ccbf3c0ce543fba799d1a1f8ef5786ddc112
2020-11-24 18:20:43 +00:00
Alexey Kudravtsev
4ebe13e451 cleanup
GitOrigin-RevId: 1ceb5cac9ba1a118ab952adfc0fddc0d3cc27744
2020-11-24 13:39:35 +00:00
Alexey Kudravtsev
a94204b397 make getVirtualFile() not null to simplify tests
GitOrigin-RevId: c5bc16cacee19f0057074ca20e9773c0cac6d00a
2020-11-24 13:39:34 +00:00
Tagir Valeev
d35974faf8 [java-inspections] IDEA-255926 Support streams generated by StreamSupport StreamToLoopInspection
Only for non-parallel streams

GitOrigin-RevId: 08b517f557f0c376cc504ac654a9353a66ae9014
2020-11-24 04:36:33 +00:00
Tagir Valeev
f8e3e1a2b3 [java] Speed up exception filter (IDEA-255956)
GitOrigin-RevId: d19947dac46c40d4ec3069c13e86665675ba8d83
2020-11-24 01:57:37 +00:00
Bas Leijdekkers
4b18db9bfb Add quick fix to remove duplicate annotation without parameters (IDEA-249508)
GitOrigin-RevId: fea7daeb0bb40724325182d6041a20aa141fbbf2
2020-11-23 21:56:24 +00:00
Anna Kozlova
73742cfcaa java records: rename component through implicit reference to the generated getter (IDEA-249683)
GitOrigin-RevId: 61907b128fb812c2b7df3769f2a80cc81ef43e54
2020-11-23 16:35:13 +00:00
Anna Kozlova
b93c815fbf java records: component used in outer class: search/rename fixes (IDEA-248803)
GitOrigin-RevId: 658be1b62e613484e82b1e7f24f1157813021179
2020-11-23 16:35:10 +00:00
Nikolay Chashnikov
64ec0ecfac [workspace model] provide a way to save configuration of facets for modules imported from external sources
It may happen that a module configuration is imported from some external model, but user may manually configure a facet in such module (e.g. Python facet in CLion, see PY-45374). In that case we need to produce an *.iml file for such module to store the facet configuration. CustomModuleEntitySource is introduced to mark entity sources of such modules.

GitOrigin-RevId: db079434df6bf2684eaa5a82b0e0d49e41993806
2020-11-23 14:03:15 +00:00
Andrey.Cherkasov
1a75f19cff Don't warn about missing tag description on void methods
GitOrigin-RevId: 7125c41e5adfb4a45f96b6f5c9b6db12a9a0da6d
2020-11-23 13:25:11 +00:00
Vladimir Krivosheev
5fed9f63f7 do not export intellij.platform.codeStyle.impl from lang-impl, reduce trove library usage
GitOrigin-RevId: 8d1b8100f8c3e2144da8a9057273805469da4454
2020-11-23 10:46:41 +00:00
Anna Kozlova
62bcffea9a rename collision: find hidden methods with different signature (IDEA-248913)
due to the comb rule, class or interface to search determines by the innermost class with the same named member

GitOrigin-RevId: 1b6c3650e3ec49bc5fccc1b72e30019a7ed2f550
2020-11-20 21:44:11 +00:00
Anna Kozlova
32241e8d51 move class: conflict if class is moved to the default package but is used outside (IDEA-252248)
GitOrigin-RevId: 360dd07f40161de494d09b0a721ead761e7cdcb6
2020-11-20 21:44:10 +00:00
Dmitry Batkovich
a09502a2e8 PersistentHashMapBase rename class/methods and add javadoc
GitOrigin-RevId: 1e726e228390f0d2df8326bb6f17ead7e5df8013
2020-11-20 13:31:58 +00:00
Anna Kozlova
5697a07aae inline method: allow to inline one liners in loop conditions fixed (IDEA-255057)
GitOrigin-RevId: 72c7c6ec9865984b997a05c2b8756771aa388ddb
2020-11-20 09:33:50 +00:00
Anna Kozlova
b5617168c3 java inline chained constructors: ensure elements are not invalidated during processing (IDEA-255661)
GitOrigin-RevId: e600dbad74bed7eee0e0979bd1e33a2b7e9870bf
2020-11-20 09:33:47 +00:00
Sergey Patrikeev
3ecfd4d70b IndexDiagnosticTest: run tearDown as the first statement.
GitOrigin-RevId: 8d978ca14df64554d4ac649c3c961586c60ce18d
2020-11-19 17:27:42 +00:00
Sergey Patrikeev
97f7ad35a5 Fix NPE in PersistentSubIndexerVersionEnumeratorTest.
GitOrigin-RevId: 8dee0640744f1076d6788204f08bfeb35d8e58dd
2020-11-19 17:27:42 +00:00
Ilyas Selimov
e5de2ef09d IDEA-176682 - add some tests
GitOrigin-RevId: e29de2717336e3c8ba95e89707430ab95b709894
2020-11-19 11:18:05 +00:00
Tagir Valeev
a64960d971 [java-completion] IDEA-63639 Completion after new offers in list classes with private constructors
GitOrigin-RevId: 141336a239f027b0eb5cc9f2f783f1415eeb5f76
2020-11-19 05:49:13 +00:00
Tagir Valeev
5e6932f3b5 [java-dfa] Check new array length to be non-negative in DFA
Fixes IDEA-254545 Inspection for allocation of array with negative size
Tests are contributed by Ivo Smid (PR#1468)

Co-authored-by: Ivo Smid <ivo.smid@gmail.com>

GitOrigin-RevId: b58f281faa6caeeb5a7fbb06b110182994369426
2020-11-19 02:39:59 +00:00
Tagir Valeev
4d31494509 [java-dfa] IDEA-255644 First-class support for unbox+convert integer methods like Integer.longValue, Byte.intValue, etc.
GitOrigin-RevId: a7f88e99dd116bbbe32780801ab1d0b9b87adbee
2020-11-19 02:39:58 +00:00