Commit Graph
85950 Commits
Author SHA1 Message Date
Denis.Zhdanov aa63ae712c IDEA-89443 Gradle: Don't store autodetected gradle path at the settings 2012-07-30 16:18:39 +04:00
Kirill Likhodedov 2e27b2c76b [git] history: fix status information expectations.
It can safely be null, for example, for merge commits without any changes.
2012-07-30 16:13:45 +04:00
Kirill Likhodedov bf1f731d6d [git] IDEA-89296 EA-30807 Rename change may have only 1 path
So don't require it.
For example, in 'git show --name-status -M' for a merge commit, where the file was renamed in one of the branches.
2012-07-30 16:05:56 +04:00
Kirill Likhodedov e76c460aba cleanup 2012-07-30 16:05:56 +04:00
Kirill Likhodedov ff96e6d3fe EA-37083 SIOOBE 2012-07-30 16:05:55 +04:00
Kirill Likhodedov 70823b8b79 notnull, nullable 2012-07-30 16:05:55 +04:00
nik 6a66fa31d7 per-module encoding: take into account encoding specified for parent directory of a source root 2012-07-30 15:40:04 +04:00
anna 153f358239 avoid duplicate entries in goto declaration (IDEA-89422) 2012-07-30 13:36:16 +02:00
anna 04c27dca24 replace constructor with builder: enable also on constructor refs (IDEA-89360) 2012-07-30 13:36:15 +02:00
Kirill Likhodedov 900944f50c [git] IDEA-89347 Support cyclic renames in file history + test
* See http://youtrack.jetbrains.com/issue/IDEA-89347 for detailed explanation of the problem.
* If a file is renamed several times, and at once it get renamed to the name which it already have had previously (cyclic rename), git log -- <file path> will display the all history for this path.
* Improve the algorithm in GitHistoryUtils so that it tracks when the file was ADDED, and stops looking at the history if there is any. Then the traditional "git show --name-status -M" will capture that the file was renamed, and query for the history of the old path, etc.
* Write a test for cyclic renames in the history.
2012-07-30 15:31:02 +04:00
Kirill Likhodedov 7d9a0bf67f GitTestRunEnv: fail on fatal error, retry on "index.lock" error, add possibility to hide test commands from the log 2012-07-30 15:31:02 +04:00
Kirill Likhodedov ceb555051c Fix already disposed 2012-07-30 15:31:01 +04:00
Kirill Likhodedov 62e4c1f8ed fix comment 2012-07-30 15:31:01 +04:00
Denis.Zhdanov 4486a6c55d IDEA-89417 Editor: Avoid VCS hint paint artifacts
Looks like the problem is that editor scroll animator has enough time to tick before paint request scheduled by the DirtyRegionManager is actually executed
2012-07-30 15:25:11 +04:00
Denis.Zhdanov 3b70854b2b IDEA-89342 Folding: Restore custom fold regions on file re-open 2012-07-30 15:25:11 +04:00
Eugene Kudelevsky 3c302eaf08 android artifacts: show "From module {0}" template if there is only 1 app module; do not show templates at all if there is no suitable modules 2012-07-30 15:18:13 +04:00
nik 0107c6c3b8 external artifact builder: get list of changed files from IDEA instead of scanning fs on each build 2012-07-30 15:11:32 +04:00
nik 64c920cb60 external artifact builder: cleanup 2012-07-30 15:11:32 +04:00
nik 803af43b4c external artifact builder: unused methods removed 2012-07-30 15:11:32 +04:00
Vassiliy Kudryashov e71f1386d5 IDEA-88430 Run configuration dialog: 'allow only one instance' should not be under 'before launch' section 2012-07-30 14:25:55 +04:00
Evgeny Pasynkov 7cd686956a move searchers to indexing* module 2012-07-30 12:15:49 +02:00
Evgeny Pasynkov 5ea14cb767 move searchers to indexing* module 2012-07-30 12:06:13 +02:00
Evgeny Pasynkov 59320e01dc more EP_NAME's 2012-07-30 12:05:10 +02:00
peter fa3dd4166c IDEA-89415 Shortcut not working on generate equals() and hashCode() 2012-07-30 12:02:24 +02:00
peter 88b2aace06 faster sorting for second completion 2012-07-30 12:02:24 +02:00
Evgeny Pasynkov e4ef7a568f +MethodReferencesSearch.EP_NAME 2012-07-30 12:00:25 +02:00
Evgeny Pasynkov e1065ce0ab MethodUsagesSearcher.ctor made public 2012-07-30 11:59:46 +02:00
Andrey Vokin e3a8381def CodeInsightTestCase and RubyUsefulTestCase separated 2012-07-30 13:35:51 +04:00
Evgeny Pasynkov 3944360e63 Move MethodReferencesSearch (and necessary closure) to java-indexing-api.
Remove references to StfFileTypes from SimpleAccessorReferencesSearch and extract them into one more CustomPropertyScopeProvider
2012-07-30 11:24:30 +02:00
Maxim.Mossienko 599241a44f Merge remote-tracking branch 'origin/master' 2012-07-30 11:54:21 +04:00
Alexey Gopachenko 78fc86e7db fix settings import 2012-07-30 02:45:56 +02:00
Konstantin Bulenkov d02a2b5b53 test for IDEA-89324 2012-07-29 20:33:34 +02:00
Maxim.Medvedev 429b2acb17 groovy field can be used if it implicitly overrides getter or setter of base class 2012-07-29 20:35:48 +04:00
Konstantin Bulenkov adf158fdb7 IDEA-81422 Change signature 'use any var' presentation 2012-07-29 18:00:57 +02:00
Maxim.Medvedev 5baa52e64d IDEA-87878 select word should honor semicolon 2012-07-29 19:39:18 +04:00
Maxim.Medvedev d5e08b60ef IDEA-87878 select word should honor semicolon 2012-07-29 19:39:16 +04:00
Maxim.Medvedev 8c4504637d IDEA-88549 Auto completion makes it hard to add constructor with int parameter 2012-07-29 19:39:15 +04:00
Maxim.Medvedev 156ad7c75a cleanup SubstitutorComputer 2012-07-29 19:39:14 +04:00
Konstantin Bulenkov bc3c1fa8d9 IDEA-87621 Collapse/expand all in file structure popup 2012-07-29 16:51:44 +02:00
Konstantin Bulenkov d4c084693d cleanup & IDEA-89402 Arrow in alt+enter popup is too dark 2012-07-29 16:38:30 +02:00
Konstantin Bulenkov bb9f96d0ce IDEA-89401 Grey current file in navigation bar while standing in the editor 2012-07-29 16:14:42 +02:00
Kirill Likhodedov 96f5446263 [git] Fix show diff with parent for merge revisions, especially for moved files (IDEA-89376)
For merge revisions collect correct information about file paths of the file, how it was named in both parent revisions.
For it call git diff -M --name-status <parent>..<current> for both parents: if the file was renamed in one of merged branches, it will be noted in the diff output.
This process happens in the background, along with check if the file was touched in the revision.
Btw, use correct path to check if the file was touched in the merge revision (the file can be renamed after this merge, and current name can be different).
2012-07-29 14:23:08 +04:00
Kirill Likhodedov 18c26485a6 [git] Git.show: fix implementation (don't forget to add params), let add any number of params. 2012-07-29 14:23:08 +04:00
Maxim.Medvedev f9d4306d8d IDEA-89397 Groovy: quick fix "Create field" generates invalid code 2012-07-28 19:26:16 +04:00
Kirill Likhodedov a73461dcde IDEA-89376 Git integration doesn't show change diff for moved file
Moved file has other path in the parent revision => constructing a fake GitFileRevision using the same file path is incorrect approach.
Modified the DiffFromHistoryHandler to pass the previous revision from the file history panel (and renamed the interface methods to avoid confusion between them). This is somewhat incorrect, because the previous revision in the list is not necessarily a direct parent of current revision (it is an ancestor though; the file can be not changed in the parent revision).
At best, we should query Git (git show <current revision>) to know the previous part, but it would require one more Git command. Current approach is acceptable until file history gets the graph log.

Merge commits, however, should be handled separately. The fix will come in the next commit.
2012-07-28 17:36:55 +04:00
Alexander Lobas 2391f985b4 EA-37161 2012-07-28 14:41:20 +04:00
peter 961ec7aa1d fix tests 2012-07-27 22:43:13 +02:00
Dennis Ushakov 7e673705c1 mountain lion notifications support 2012-07-27 23:40:40 +04:00
irengrig ae6a954266 Merge remote branch 'origin/master' 2012-07-27 21:25:25 +04:00
irengrig 4b9c0789a3 IDEA-78715 When go to Apply Patch it always opens the Finder in the project directory instead of remembering the last location 2012-07-27 21:23:16 +04:00