Commit Graph

5099 Commits

Author SHA1 Message Date
Pavel V. Talanov 0f5dc3b3a6 Fix for a problem that caused all files to be analyzed completely in js analyzing facade. 2012-04-25 14:24:02 +04:00
Pavel V. Talanov b3ffaa89c3 Better handling of user provided paths. 2012-04-25 14:24:00 +04:00
Pavel V. Talanov 4488a62344 Rename K2JS run configuration to "Kotlin (JavaScript)" 2012-04-25 14:23:59 +04:00
Andrey Breslav 0a361f2377 Make VFS see the newly generated .class files 2012-04-25 12:53:05 +04:00
James Strachan 504f32d0d6 Merge pull request #43 from detouched/stringMethods
String methods
2012-04-25 01:44:18 -07:00
James Strachan 4502f81d6a Merge pull request #42 from cy6erGn0m/master
Add functions for File to read by lines and byte blocks
2012-04-25 01:42:43 -07:00
James Strachan 7f272897ea Merge pull request #45 from Frostman/arr-sugar
Array#lastIndex property has been added to stdlib
2012-04-25 01:41:49 -07:00
Andrey Breslav d0bd5cf9c6 Properly positioning compilation exceptions in the IDE 2012-04-25 12:25:00 +04:00
Andrey Breslav 3eb6b3d0f5 Formatting 2012-04-25 12:20:27 +04:00
Andrey Breslav 296c16a623 Remove unused class 2012-04-25 11:53:17 +04:00
Andrey Breslav 890e9f5c43 Providing the same command line for in-process and out-of-process compilation 2012-04-25 11:52:30 +04:00
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
Sergey Lukjanov 71ef123dc3 Array#lastIndex property has been added to stdlib 2012-04-21 22:22:55 +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