Commit Graph
86326 Commits
Author SHA1 Message Date
peter 0d3bc73083 class is a valid suggestion in method body 2012-08-08 12:18:54 +02:00
peter 8a46fd89ba let JavaInheritanceWeigher not apply to methods 2012-08-08 12:18:54 +02:00
peter ba54229a62 faster LiftShorterItemsClassifier 2012-08-08 12:18:54 +02:00
Kirill Likhodedov 97de82ad6d [git] IDEA-89754 CRLF hook: enable for all platforms + fixes.
* Enable the check for all platforms: it is possible that a Mac user occasionally accepts a patch made on Windows with CRLFs.
   Define RECOMMENDED_VALUE, which is input for non-Windows.
* Call the right command in check-attr.
* Force separators detection.
  Since LoadTextUtil is used for this purpose, remove getFileDocumentManager from the PlatformFacade, and add getLineSeparator instead.
* `git config` returns with exit code 1, if no value is set to a property. Emulate this in tests, don't check the result on success in the code.
2012-08-08 14:10:23 +04:00
Kirill Likhodedov b337f5c05b IDEA-75793 Fix already disposed 2012-08-08 14:10:22 +04:00
Kirill Likhodedov 42f22af629 GitTestRunEnv: save the detected executable in static field to reuse in this session; use more clean logging 2012-08-08 14:10:22 +04:00
Kirill Likhodedov 264de815c7 IDEA-89754 Add a pre-commit check on core.autocrlf option and warn if CRLF is about to be committed to the repository. Step #2
* Write the detector according to the following algorithm:
  - check core.autocrlf
  - check if files to commit have CRLFs
  - check if there are CRLF-related attributes on these files.
* Respect multi-roots.

Tests:
* Write a test on the detector and the parser of the output of `git check-attr`.
* Try one more approach on unit testing Git: declare GitTestImpl as more real Git implementation than MockGit is: this one calls git. The tests are fast enough.
* Several fixes and enhancements in the mocks.
* Introduce GitExecutor which allows a nice syntax of calling to Git. This can be used as a mixin in tests.
2012-08-08 14:10:21 +04:00
Kirill Likhodedov 638b0e7629 Hide the pre-commit core.autocrlf check under the registry value until that functionality is tested. 2012-08-08 14:10:20 +04:00
Kirill Likhodedov eec045aa61 IDEA-89754 Add a pre-commit check on core.autocrlf option and warn if CRLF is about to be committed to the repository. Step #1.
* Add another check to the GitCheckinHandler (windows only).
* Add the option to disable the check to the settings (visible for windows only).
* Add the dialog warning about CRLFs: GitCrlfDialog
* Declare the actual GitCrlfProblemsDetector - just as a stub now.
2012-08-08 14:10:20 +04:00
Sergey Evdokimov d2603f8fe5 Fix background color in Maven Tool window. 2012-08-08 13:56:21 +04:00
Sergey Evdokimov 7dafc8af85 IDEA-89834 IntelliJ automatically re-import projects when active profiles change 2012-08-08 13:26:25 +04:00
Evgeny Zakrevsky 0108163b05 Tasks&Contexts: New choose popup for search and opening tasks. 2012-08-08 13:25:16 +04:00
Eugene Kudelevsky 5e2fc205fa revert "IDEA-89266 fix storing of default html doctype" 2012-08-08 12:56:08 +04:00
Eugene Kudelevsky 61e4e3445b revert ' fix converter: translate "default-html-doctype" option into "default-html-language-level" ' 2012-08-08 12:56:06 +04:00
Sergey Evdokimov 2b6d4987cf IDEA-74131 Failed to interpolate field: private org.apache.maven.model.Reporting ... 2012-08-08 12:30:32 +04:00
Eugene Kudelevsky 7b893ede50 fix converter: translate "default-html-doctype" option into "default-html-language-level" 2012-08-08 12:11:36 +04:00
andrey.zaytsev 8a310b5831 lldb reports weird objc-description for char* type. workaround for this in ProtobufFrontend. testValues fix. 2012-08-08 04:21:15 +04:00
Gregory.Shrago a0e1f4ff3d //lang comment for local variables fix 2012-08-08 03:54:27 +04:00
peter 638bacd7ac fix test: first create a newly introduced parameter, then delete the obsolete ones 2012-08-07 21:37:27 +02:00
Bas Leijdekkers 6a0e6cffc4 IDEA-89838 (Configure inspection "'size() == 0' replaceable with 'isEmpty()'" to not flag inside custom implementations of Collection.) 2012-08-07 21:21:52 +02:00
Roman Shevchenko 8f8ee16371 EA-37874 , EA-34150 (unpack system libs to own temp directory and load them at startup) 2012-08-07 22:42:21 +04:00
Anna Kozlova 0c56a5e7e4 leave inplace popup on the old place when best location become invisible (IDEA-89827) 2012-08-07 22:31:35 +04:00
Alexander Doroshko bc85f645b0 respect margin and icon-text-gap 2012-08-07 22:18:37 +04:00
Konstantin Bulenkov 3e19b84e00 fix horizontal endings on selected elements 2012-08-07 20:00:05 +02:00
Konstantin Bulenkov 7a48928d3f new icons for darcula 2012-08-07 20:00:04 +02:00
Konstantin Bulenkov 4d1fcc1c67 fix hardcore (not it works under darcula) 2012-08-07 20:00:03 +02:00
Anna Kozlova 187aea323e Merge remote-tracking branch 'origin/master' 2012-08-07 21:16:19 +04:00
Anna Kozlova ece25cfc24 EA-37895 - assert: FocusManagerImpl.isFocusTransferReady 2012-08-07 21:13:14 +04:00
Konstantin Bulenkov 128e42d29f fix assertion 2012-08-07 19:10:57 +02:00
peter bd83dfa330 extract LookupOffsets 2012-08-07 19:07:44 +02:00
peter 0695aa715e survive context invalidation (EA-36089) 2012-08-07 19:07:44 +02:00
peter 315a6015f2 diagnose unknown conditional expression child (EA-36243) 2012-08-07 19:07:44 +02:00
peter 0ea1c307ab don't fail when fragment's expected type was invalidated (EA-36483) 2012-08-07 19:07:44 +02:00
peter 367771be6b add read action (EA-37259) 2012-08-07 19:07:43 +02:00
peter 0c9a32e11f fix ?super in gdsl (EA-38009) 2012-08-07 19:07:43 +02:00
peter 4056c79a2d index only non-private static members; correct groovy second smart completion results 2012-08-07 19:07:43 +02:00
peter 605f1311a3 middle matching 2012-08-07 19:07:42 +02:00
irengrig 49f78b1c9d Merge remote branch 'origin/master' 2012-08-07 20:46:12 +04:00
irengrig 6f1442227e SVN: hunting for unfinished transactions with no result so far
added test
2012-08-07 20:44:52 +04:00
Anna Kozlova 9f17c506c5 Merge remote-tracking branch 'origin/master' 2012-08-07 20:19:38 +04:00
Alexander Lobas e079515ba2 Change "default" property behaviour 2012-08-07 20:17:40 +04:00
Anna Kozlova 2af9adfc2c try our best to find fields corresponding to params (IDEA-89773) 2012-08-07 20:17:04 +04:00
Anna Kozlova 5d76e83d34 testdata for IDEA-89801 2012-08-07 20:17:03 +04:00
Anna Kozlova 2d2a52650c testdata for IDEA-89771 2012-08-07 20:17:02 +04:00
Anna Kozlova 524eb36871 remember prompt dialog placement (IDEA-89800) 2012-08-07 20:17:01 +04:00
Anna Kozlova bee0bd2963 lambda effectively final: ignore variables defined inside lambda (IDEA-89818) 2012-08-07 20:17:00 +04:00
Anna Kozlova 4ab8573957 lambda IDEA-89806 2012-08-07 20:16:59 +04:00
Anna Kozlova 8da87a0a7c delete duplicate 2012-08-07 20:16:58 +04:00
Sergey Evdokimov e52624ddff Add tooltips to maven configuration page. 2012-08-07 19:58:20 +04:00
Dmitry Jemerov 293a219379 Merge remote-tracking branch 'origin/master' 2012-08-07 17:49:22 +02:00