Commit Graph

5078 Commits

Author SHA1 Message Date
Andrey Breslav fe9f8a0312 Getting process exit code from waitFor() 2012-04-25 11:26:31 +04:00
Andrey Breslav 47e096026d Escape XML strings in the compiler output 2012-04-24 22:41:04 +04:00
Stepan Koltsov 4a1c36d733 fix complex case of recursion in JavaDescriptorResolver
#KT-1804
2012-04-24 22:14:01 +04:00
Stepan Koltsov 0f3aa9e567 remove nop code 2012-04-24 22:14:00 +04:00
Stepan Koltsov ae913f4c0e replace assert with exception
* assert hides errors when code is executed without -ea
* it is easier to set up breakpoint
2012-04-24 22:14:00 +04:00
Andrey Breslav c686184847 KT-1860 Resolve annotations of function parameters
#KT-1860 Fixed
2012-04-24 21:53:23 +04:00
Andrey Breslav 81387c0745 Fixing a regression: Compiler exceptions are now reported to the Exception Analyzer 2012-04-24 21:22:46 +04:00
Andrey Breslav 211fa9dd80 Don't treat the root tag as a message tag 2012-04-24 21:22:46 +04:00
Andrey Breslav b467edfa03 Don't compile module scripts in verbose mode 2012-04-24 21:22:46 +04:00
Andrey Breslav d5e103601b Debug output removed 2012-04-24 21:22:46 +04:00
Andrey Breslav deaaf3042b Fixed compilation in build-tools 2012-04-24 21:22:46 +04:00
Andrey Breslav 0ab212b240 Module file is not needed when compiling modules 2012-04-24 21:22:45 +04:00
Andrey Breslav 8a40f943de Module script loading separated from module compilation 2012-04-24 21:22:45 +04:00
Andrey Breslav e6709ab272 Putting back the support for incremental compilation 2012-04-24 21:22:45 +04:00
Andrey Breslav ef90a333ba Prefix paths with the "file://" protocol
This is required for error positioning
2012-04-24 21:22:45 +04:00
Andrey Breslav d1a6c3e7f5 Unused class removed 2012-04-24 21:22:45 +04:00
Andrey Breslav 2693fc1130 Using a SAX parser for compiler output
The previous version of the output processing algorithm was quadratic in the size of a message
 which manifested in the case of a long stack trace of an internal error. Now we use a SAX parser that
 processes its input in linear time and notifies the environment as it goes.
2012-04-24 21:22:45 +04:00
Andrey Breslav 419f8c7415 Print a root tag in the XML output mode
Now, the compiler output in the "-tags" mode is enclosed into <MESSAGES>...</MESSAGES>
2012-04-24 21:22:45 +04:00
Nikolay Krasko b62f49c965 Some new icons - beta version 2012-04-24 19:17:16 +04:00
Evgeny Gerashchenko cc7284c67e Fixed failed assertions on navigating to 'Assertions' class of Kotlin runtime 2012-04-24 17:50:57 +04:00
Evgeny Gerashchenko 8c2457195e Fixed bug when ctrl+click on ArrayList.add() and other stuff navigated to alt-headers.
#KT-1815 fixed
2012-04-23 23:09:23 +04:00
Evgeny Gerashchenko 423920d4c0 Renamed FakeJetPsiClassRegressionTest to LibraryNavigationRegressionTest. 2012-04-23 23:09:23 +04:00
Andrey Breslav 45d92bebc8 Inner classes are taken out to facilitate testing 2012-04-23 20:25:15 +04:00
Andrey Breslav 993bf65087 Providing reasonable information about compilation exceptions
Self message, cause message and both position in the file under compilation and the executed file position are reported
2012-04-23 19:17:35 +04:00
Evgeny Gerashchenko f7d9ecafe4 Made overrides/implements mark tooltips more readable. 2012-04-23 18:04:12 +04:00
Evgeny Gerashchenko 366079a96c Improved word selection for parameters and arguments.
#KT-1657 fixed
2012-04-23 18:00:09 +04:00
Evgeny Gerashchenko 04143a2563 Moved selectioners to separate package. 2012-04-23 18:00:09 +04:00
Nikolay Krasko d9b04edcf8 EA-34996 Old assert that is difficult to maintain 2012-04-23 17:59:04 +04:00
Evgeny Gerashchenko cde38382c0 Fixed processing function type parameters in override/implement members.
#KT-1603 fixed
2012-04-23 16:48:12 +04:00
Andrey Breslav 789ff0b273 KT-1838 Constructor with a vararg
Resolution for properties declared as primary constructor parameters used to ignore the varargs annotation.
 #KT-1838 Fixed
2012-04-23 14:16:07 +04:00
Leonid Shalupov 32a55f786c integration tests: temp dir, stable test output 2012-04-22 23:10:49 +04:00
Leonid Shalupov 40e594668b integration tests: compile and run hello app 2012-04-22 22:54:13 +04:00
Leonid Shalupov 22d601ffcb integration tests draft 2012-04-22 22:38:36 +04:00
Stepan Koltsov 75255aebdc use BufferedOutputStream when building jar
it speeds up building (from 3% to 1% in CompileCompilerDependenciesTest)
2012-04-21 18:03:57 +04:00
Stepan Koltsov 7c8937bd2d JavaDescriptorResolver: negative package cache
Time spent in JavaDescriptorResolver.resolveNamespace reduced from 10% to 5%
in CompileCompilerDependenciesTest
2012-04-21 18:03:53 +04:00
Evgeny Gerashchenko be9004aa62 Expanded availability of "Specify Type Explicitly" intention.
#KT-1849 fixed
2012-04-21 02:51:49 +04:00
Evgeny Gerashchenko 82b4304f0e Added auto-importing in JetChangePropertyActions.addTypeAnnotation(). It is used in "specify type explicitly" intention and "introduce variable" refactoring. Corrected auto-importing for cases of nested classes (e.g. Map.Entry). 2012-04-21 02:39:23 +04:00
Evgeny Gerashchenko 32605248c5 Added intention which adds or removes explicit type specification for property or variable.
#KT-1427 fixed
2012-04-21 01:09:05 +04:00
Evgeny Gerashchenko 8c5c9311fb Added *.template files to resource templates for compiler. 2012-04-21 00:56:04 +04:00
Evgeny Gerashchenko e298391645 Fixed tests.
#KT-1799 fixed
2012-04-20 22:16:20 +04:00
Evgeny Gerashchenko 7147998c5c Replaced "namespace header" with "package directive" in parser error.
#KT-1799 fixed
2012-04-20 22:02:28 +04:00
Evgeny Gerashchenko 9bec7b5e9d Merge branch 'diagnostics'
Conflicts:
	compiler/cli/src/org/jetbrains/jet/compiler/CompileSession.java
	compiler/frontend/src/org/jetbrains/jet/lang/diagnostics/Errors.java
2012-04-20 21:58:05 +04:00
Stepan Koltsov 3b0c9244c9 di: @PreDestroy
I need in my private experiments
2012-04-20 21:33:18 +04:00
Stepan Koltsov 994e6fe009 di: store everything in fields
needed to implement @PreDestroy
2012-04-20 21:33:17 +04:00
Stepan Koltsov 092a572143 do not compile java part of runtime
it must be already compiled by Idea
2012-04-20 21:33:17 +04:00
Evgeny Gerashchenko e4eb48e61a Got rid of saving argument list in NONE_APPLICABLE diagnostic. 2012-04-20 20:44:09 +04:00
Evgeny Gerashchenko 466e669727 Added valid rendering varargs and parameters with default values in NONE_APPLICABLE diagnostic. 2012-04-20 20:44:09 +04:00
Evgeny Gerashchenko 0f0330a4b4 Added rendering vararg keywords and valid parameter type in this case.
#KT-1840 fixed
2012-04-20 20:44:09 +04:00
Evgeny Gerashchenko 1f19c6a0f0 Extracted class NoneApplicableCallsRenderer. 2012-04-20 20:44:09 +04:00
Evgeny Gerashchenko eddc550139 Implemented highlighting arguments which don't fit in tooltip. 2012-04-20 20:44:09 +04:00