Commit Graph
186044 Commits
Author SHA1 Message Date
Tagir Valeev ae5d133904 StreamToLoopInspection: sorted() operation (currently for non-primitive streams only) 2016-12-27 13:13:53 +07:00
Tagir Valeev fb12495825 StreamToLoopInspection: unwrap && and || chains; copy return statement in found/not found places; do not eagerly evaluate non-trivial ternary branch 2016-12-27 12:38:05 +07:00
Denis Fokin eb1eb4de75 EA-93249 - NPE: ClipboardUtil.useLegacyMergeSort 2016-12-26 23:35:31 +03:00
Egor.Ushakov 817af36a98 fixing testVarargsNullLiteral 2016-12-26 21:01:54 +03:00
Denis Fokin 81ac707119 RIDER-1675 IllegalArgumentException Comparison method violates its general contract! 2016-12-26 19:50:18 +03:00
Bas Leijdekkers b98b7596dc regexp: make matcher used for Check RegExp intention pluggable 2016-12-26 17:47:44 +01:00
Bas Leijdekkers a0bb41c197 regexp: cleanup number parsing 2016-12-26 17:47:43 +01:00
Bas Leijdekkers 6c496f68f3 regexp: fix SIOOBE 2016-12-26 17:47:42 +01:00
Kirill Likhodedov 1dbd79b2aa git: unify naming style
Use "properties" instead of fields + getters, since they are requested
only in the outer class of the Event class.

Follow-up to 712a158
2016-12-26 19:06:47 +03:00
Kirill Likhodedov f99744f35d git: remove unneeded volatiles
Message start marker, message end marker, the files are all received
from the same thread (either stdout or stderr) => although the listener
is listening to different threads, in fact only one thread is important
during the command execution.

Follow-up to 712a158
2016-12-26 19:06:47 +03:00
Pavel Fatin 4dd26bdb98 true smooth scrolling: pixel-perfect scrolling (requires the custom JRE) 2016-12-26 16:44:39 +01:00
Daniil Ovchinnikov 35671de4cf [groovy] fix NPE warning in static import method fix 2016-12-26 18:02:20 +03:00
Daniil Ovchinnikov fc936e2e24 [groovy] fix EA-63038 and EA-67911 2016-12-26 18:02:20 +03:00
alexey.afanasiev 77cf51b621 IDEA-CR-16944 IDEA-43096 Inspection for gstrings used as map keys 2016-12-26 17:51:02 +03:00
Vassiliy.Kudryashov cf3c645623 Check for system time jump back (logging only) 2016-12-26 17:30:49 +03:00
Dmitry Avdeev 94daf229e6 IDEA-165764 please map the Android topics Ids to the correct New Project Android UI pages 2016-12-26 17:13:05 +03:00
Daniil Ovchinnikov fb312c650f [groovy] fix EA-89819 2016-12-26 17:09:54 +03:00
Alexey Kudravtsev c51510920e fixed blinking OrderEntryTest.testAddCircularDependency 2016-12-26 17:03:07 +03:00
Alexey Kudravtsev 4a037d580a IDEA-165879 Unguarded section in DocumentCommitThread that leads to spontaneous assertion 2016-12-26 17:03:07 +03:00
Alexey Kudravtsev 4c8f483860 cleanup 2016-12-26 17:03:07 +03:00
Alexey Kudravtsev 8212ba127d blinking (due to sudden cpu load spikes) fixed 2016-12-26 17:03:07 +03:00
Dmitry Batkovich 8b5f38ed72 javac ast indices: test ui; cleanup 2016-12-26 15:47:27 +03:00
Dmitry Batkovich 402d968263 javac ast indices: test ui; add navigation from classes/fun expressions 2016-12-26 15:47:27 +03:00
Dmitry Batkovich a53fd0bb78 javac ast indices: test ui; add hierarchy information 2016-12-26 15:47:27 +03:00
Dmitry Batkovich 2ea2a3bfb6 javac ast indices: test ui; unfinished 2016-12-26 15:47:27 +03:00
Sergey Karashevich c81c29d692 [gui-test] new short kotlin API 2016-12-26 15:44:53 +03:00
Sergey Karashevich 4cac2de46d [gui-test] remove robots from projectView and from settingsTree; rename SimpleApplication to SimpleProject 2016-12-26 15:44:53 +03:00
Sergey Karashevich 673feb2334 [gui-test] short style without robots and targets 2016-12-26 15:44:52 +03:00
Rustam Vishnyakov 0abe09b892 CodeStyleManager backwards compatibility fix: FormattingModeAwareIndentAdjuster 2016-12-26 15:29:36 +03:00
Tagir Valeev ffc5e158f4 Identical catch blocks collapsed where possible
Via "Identical 'catch' branches in 'try' statement" inspection with manual check/corrections
2016-12-26 17:54:01 +07:00
Vassiliy.Kudryashov 5859876a78 Don't rely on system time monotonicity 2016-12-26 13:41:44 +03:00
Rustam Vishnyakov ae8b0f329a Code style & color scheme panels refactoring (IDEA-165087, IDEA-165088) 2016-12-26 13:17:06 +03:00
Dennis Ushakov 9646fb9a31 cleanup 2016-12-26 12:49:55 +03:00
alexey.afanasiev 1ed1ab8280 IDEA-CR-16944 IDEA-43096 Inspection for gstrings used as map keys 2016-12-26 11:53:44 +03:00
Semyon Proshev 6da28521a5 PY-21768 Fixed: Semantic highlighting for Python
Introduce PyRainbowVisitor to highlight targets, named parameters and unqualified references.
References which resolve to classes, functions, `self`, `cls` or class level attributes are not highlighted.
`self` and `cls` named parameters are not highlighted too.
Same name local and global variables have different colors.
2016-12-26 11:13:11 +03:00
Vladimir.Orlov e59b627a33 Win Installer: download jre x86 - optional/required for 64/32-bit OS. 2016-12-26 09:27:42 +03:00
Kirill Likhodedov 712a158747 git: collect affected files from correct stdout/err stream
When the message is detected (e.g.
"untracked working tree files would be overwritten by merge"),
remember the output type, and read the files only from the stream
of that type.

Before that, since stdout and stderr are reported asynchronously,
messages could arrive like that:
    error: The following untracked working tree files would be overwritten by merge: 
    Updating 48295bf..cfba4dc 
    untracked.txt
And we treated "Updating..." as a file.

This caused blinking of the GitBranchWorkerTest.

Also add some debug logging for possible future needs.
2016-12-25 18:18:23 +03:00
Julia Beliaeva 0d9106ae20 [vcs-log] fix keymap group for text filter settings: can add shortcut for the whole menu, remove duplicated actions, fix order 2016-12-25 01:58:51 +03:00
Julia Beliaeva 0074083ff3 [ui] fix fade-out in loading decorator with smooth scrolling enabled
In order to have smooth scrolling, loading layer should not be on top of viewport, but rather added on demand.
But since loading layer has fade-out, it can not be removed immediately when setLoadingLayerVisible is called.
It should be removed only at the end of fade out.
Before that removal, it should paint with zero alpha, in order not to leave artifacts after itself.
2016-12-25 01:06:28 +03:00
Julia Beliaeva e6558a2b04 [vcs-log] minor: use method reference 2016-12-24 22:50:55 +03:00
Julia Beliaeva 9c45539421 [vcs-log] minor: add NotNull annotation 2016-12-24 22:50:55 +03:00
Julia Beliaeva 67c48717f8 [vcs-log] extract variable for simple row elements 2016-12-24 22:50:55 +03:00
Roman Shevchenko 2cc25d5893 [vfs] makes visitors safe against symlink loops 2016-12-24 20:47:36 +01:00
Roman Shevchenko c4df8497dc Cleanup (deprecations) 2016-12-24 20:37:13 +01:00
Daniil Ovchinnikov a49857848d [groovy] add support for @PackageScope (IDEA-165816) 2016-12-24 01:03:06 +03:00
Daniil Ovchinnikov a811557816 [groovy] compute and cache modifiers once 2016-12-24 01:03:06 +03:00
Bas Leijdekkers 63fc1e2e21 IG: add configure annotations button to the inspection's settings 2016-12-23 22:05:01 +01:00
Bas Leijdekkers 8b5b56366c IG: fix disjunct exception type check (IDEA-165847) 2016-12-23 22:05:00 +01:00
Anna.Kozlova a1ff14e61c ensure usages in comments are not found in scratches during safe delete (IDEA-165748) 2016-12-23 19:37:48 +01:00
Anna.Kozlova 1fdb4df882 re-layout analysis dialog: ensure too long commit messages are truncated (IDEA-165837) 2016-12-23 19:37:48 +01:00