Commit Graph
81800 Commits
Author SHA1 Message Date
anna 2cf7167ae7 process intersection types correctly 2012-05-03 09:19:04 +02:00
anna b631a56f9d capitalize 2012-05-03 09:19:03 +02:00
anna 7c3f532d9c do not create another capture when not necessary; capture should be the same when substitutor define such dependency (IDEA-57340; IDEA-5731) 2012-05-03 09:19:02 +02:00
anna cf8ab78b59 testdata for IDEA-57339 2012-05-03 09:19:01 +02:00
anna 0ee759c3b8 test data fo IDEA-57337 2012-05-03 09:19:01 +02:00
Maxim.Mossienko e3d8bfb45d cheaper removeValue on empty value container 2012-05-03 01:58:28 +04:00
Maxim.Mossienko 1b94038cef fixed test expectation 2012-05-03 01:44:32 +04:00
Maxim.Mossienko 50b1726893 do not create strings just to create (String)Reader when we can use CharArrayReader (quite often we can get char[] form sequence) 2012-05-03 01:39:14 +04:00
Dmitry Boulytchev 553fb16f8f Better constant info callback client-side (compile-server). 2012-05-03 01:11:18 +04:00
Eugene Zhuravlev 5e96faf26f disable action while project is starting 2012-05-02 22:53:55 +02:00
Eugene Zhuravlev 64d5ae432a revert 2012-05-02 22:52:42 +02:00
Maxim.Mossienko a8c774af3f no parser error => no logging => no string creation of parsed buffer during indexing 2012-05-02 23:40:36 +04:00
Eugene Zhuravlev 793ecbb121 better place for stop_and_run button 2012-05-02 21:04:48 +02:00
Dmitry Boulytchev 895175bfbc Constant info callback client-side (compile-server). 2012-05-02 22:44:15 +04:00
Konstantin Bulenkov 732f72ffea add hide empty middle packages action to Favorites 2012-05-02 20:34:54 +02:00
Maxim.Mossienko 6b214c58a4 whitespace insertion do not create 2 objects per nonws token 2012-05-02 21:34:25 +04:00
Maxim.Mossienko 0f38219efb less garbage during indexing (-30M for IDEA project), just in case each TokenSet is 5K each 2012-05-02 21:31:04 +04:00
Konstantin Bulenkov cca8b51961 custom layouter for switcher 2012-05-02 19:19:32 +02:00
Kirill Likhodedov ec181ff915 IDEA-85560 Files are not refreshed and Pull Info is not shown after Git pull
Problem:
since pull is run in the background, GitRepositoryAction starts the final tasks (VFS refresh, delayed tasks execution) before the task completes.

Solution:
Introduce the flag-method executeFinalTasksSynchronously, and return false from the actions which are asynchronous and should call the tasks themselves.
These actions are pull and fetch (final tasks are not needed for the latter).
Execute delayed tasks of GitMergeUtil in AWT later, because now they are called on a pooled thread on certain actions.
2012-05-02 21:16:14 +04:00
Eugene Zhuravlev 277356758d when running out-of-process build, select the latest jdk version from the sdks that are used in the project, but not older than the IDEA's internal sdk version 2012-05-02 18:38:00 +02:00
Eugene Zhuravlev a83c48bdc4 use serverless build + inprocess javac by default 2012-05-02 18:37:59 +02:00
Alexander Lobas d9f79d5e7c Merge remote-tracking branch 'origin/master' 2012-05-02 20:06:19 +04:00
Alexander Lobas b20996e84a RelativeLayout 2012-05-02 20:05:48 +04:00
Eugene Zhuravlev bb8fcd4996 out-of-process build: supported "Clear output on rebuild" option (IDEA-84022) 2012-05-02 17:55:52 +02:00
Dmitry Trofimov a854bdd935 Merge remote-tracking branch 'origin/master' 2012-05-02 17:22:18 +02:00
Dmitry Trofimov 061d8bdb59 Support \\ separators for template file references (PY-6234). 2012-05-02 17:18:18 +02:00
Eugene Zhuravlev e95bfa01d7 force fs rescan on each new round 2012-05-02 17:10:33 +02:00
Gregory.Shrago ac318708a2 [davdeev] IDEA-85448 Hitting esc while editing a fragment ALWAYS closes the fragment 2012-05-02 19:04:09 +04:00
Kirill Likhodedov aea35f1a7f Rework the VCS operation popup for Git
* IDEA-81862
   Remove "Commit File", which is used rarely used and is semi-duplicated by "Commit Changes...".
   Add "Resolve Conflicts" and "Fetch".
* Move "Add to VCS" to the bottom so that other actions shortcuts don't shift for unversioned file.
   Also because "A" is a perfect mnemonic for "Add".
* Allow alpha-mnemonics for the popup, because there may be more than 10 actions there.
2012-05-02 18:52:51 +04:00
Eugene Zhuravlev 7f85f3a653 remove unused filed 2012-05-02 16:47:22 +02:00
Eugene Zhuravlev ccfae1b2dd rescan files if needed on every round 2012-05-02 16:47:22 +02:00
peter c743ad62f0 a test for 'cannot resolve class ModuleChunks' 2012-05-02 16:45:38 +02:00
Eugene Zhuravlev 01b7077266 drop obsolete "compile in background" option 2012-05-02 16:25:32 +02:00
Anton Makeev 2f2c45017f Platform: do not reset tool window's size to the default when project reload is triggered during project opening (OC-3716) 2012-05-02 16:22:51 +02:00
Kirill Likhodedov 38d4a494af Don't allow duplicates in the "author" field of Git commit dialog. 2012-05-02 18:06:20 +04:00
Kirill Likhodedov 4738fe33f9 IDEA-85521 Sometimes file appear both as ADDED and UNVERSIONED
Root cause:
Race condition around verifyPossiblyUntrackedFiles():
  1) AWT: File created. Added to myPossiblyUntrackedFiles.
  2) T2: starts background thread T2 to check file for ignorance and add it to Git.
  3) T1: File is marked dirty, its status is queried by GitChangeProvider in T1.
  4) T1: verifyPossiblyUntrackedFiles asks the state of the file, it is untracked, and it is put into untrackedFiles temp variable.
  5) T2: File is added to Git.
  6) T2: File is removed from myDUF, it is not there, but nobody cares.
  7) T1: File is added to myDUF from verifyPossiblyUntrackedFiles.

Solution:
  Check untracked files under the lock.
  The LOCK is used in after() => not to lock the AWT, use a separate lock for myDefinitelyUntrackedFiles, leaving the LOCK for myReady and myPossiblyUntrackedFiles.
  Don't check for myReady in add()/remove() - it is not necessary.
2012-05-02 17:05:35 +04:00
Kirill Likhodedov a3ddc5d210 GitUntrackedFilesHolder: remove myPossiblyTrackedFiles: the collection is not updated and not used. 2012-05-02 17:05:34 +04:00
Kirill Likhodedov edd506825b Remove unused methods. 2012-05-02 17:05:34 +04:00
Vassiliy Kudryashov 2ddf48709b IDEA-73339 Add a 'Restart' button & shortcut to the Run pane 2012-05-02 16:21:05 +04:00
Dmitry Jemerov fcc4be8b1f Merge remote-tracking branch 'origin/master' 2012-05-02 13:59:23 +02:00
Dmitry Jemerov 763eba0f10 PY-6478 2012-05-02 13:57:58 +02:00
peter af378a02e4 preselect X instead of XImpl, again 2012-05-02 13:44:50 +02:00
Dmitry Avdeev 3f049592aa default highlight level 2012-05-02 15:33:19 +04:00
Dmitry Avdeev 8ac3739ab3 AE fixed 2012-05-02 15:33:18 +04:00
Dmitry Avdeev f10c58a9d7 EA-35782 - assert: GuiEditor.<init>
async editor opening
2012-05-02 15:33:17 +04:00
Dmitry Avdeev ddcdd7b8e4 EA-35790 - assert: PsiDocumentManagerImpl.commitAllDocuments
async editor initialization
2012-05-02 15:33:16 +04:00
Dmitry Avdeev ddfe5696d3 typo 2012-05-02 15:33:15 +04:00
Konstantin Bulenkov f00c415300 IDEA-84881 Don't autoscroll to very large files 2012-05-02 13:01:19 +02:00
peter ced7ad865d diagnostics 2012-05-02 12:35:31 +02:00
anna e8b5fad3f6 IDEA-84377: check for recursive bounds 2012-05-02 12:07:12 +02:00