Stepan Koltsov
511776234f
fix k2js tests
2012-03-13 23:25:25 +04:00
Stepan Koltsov
82d77560a2
FqName class
...
for type safety, to easier distinguish between:
* short names
* qualified names
* jvm names (slash-separated)
* special names like <root>
* null values that mean "undefined" and "root ns" in different contexts
2012-03-13 21:51:38 +04:00
Andrey Breslav
ca81d97b54
Year fixed in the copyright
2012-03-13 20:47:51 +04:00
Andrey Breslav
ee2976d380
Unnecessary beans removed
2012-03-13 20:30:42 +04:00
Andrey Breslav
c6e54b133c
Deterministic order of setter calls
2012-03-13 20:00:54 +04:00
Andrey Breslav
93fcd7d1f2
Dependency Injection: GUICE replaced by custom code generation
2012-03-13 19:44:35 +04:00
Andrey Breslav
646334cc39
Qualified name in the exception messageˆ
2012-03-13 18:17:30 +04:00
Alex Tkachman
5bb7c2122d
KT-1538 proper boolean invertion
2012-03-13 15:50:29 +02:00
Alex Tkachman
c870eccc4f
fix for KT-1515 wrong loading of annotations
2012-03-13 12:28:35 +02:00
Nikolay Krasko
6b26d1ca31
KT-800 Implement Navigate->Symbol... for kotlin - done for functions
2012-03-13 14:04:46 +04:00
James Strachan
cf36014326
slightly more descriptive assertion message
2012-03-13 08:43:17 +00:00
Alex Tkachman
9aa992c209
fix for KT-1568 1.javaClass
2012-03-13 09:36:15 +02:00
Stepan Koltsov
3748507ac1
disable +JDK macro in JetDiagnosticsTest and fix (actually hide) revealed bugs
...
+JDK was not very helpful
2012-03-12 22:54:24 +04:00
Stepan Koltsov
07ff53d456
add trailing newlines to test files
...
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00
Stepan Koltsov
61dc0c265c
debugger-friendly formatting
2012-03-12 22:54:05 +04:00
Stepan Koltsov
9d66a9a842
asserts in JetScopeImpl, add enum entry to proper scope
2012-03-12 22:54:00 +04:00
Stepan Koltsov
88f55100ca
make sure ClassDescriptor.toString does not crash so we can use it in exception messages
2012-03-12 22:53:55 +04:00
Stepan Koltsov
8be79b3f22
split some tests in JetDiagnosticsTest
2012-03-12 22:53:50 +04:00
Nikolay Krasko
55b0ea1e60
- Don't repeat reference variant lookup for empty prefix.
...
- Temporary disable duplicates search with PsiElement position.
2012-03-12 21:12:42 +04:00
Alex Tkachman
c746a50406
annotations with parameters
2012-03-12 16:52:49 +02:00
Stepan Koltsov
7c8170cddd
better diagnostics in JavaDescriptorResolverHelper
2012-03-12 17:31:30 +04:00
Andrey Breslav
c315734665
EA-34240 - SIOOBE: CompileTimeConstantResolver.getCharValue
2012-03-12 16:58:01 +04:00
Alex Tkachman
b4e2a5fb30
workaround for ACC_STATIC flag
2012-03-12 14:53:33 +02:00
Andrey Breslav
00142a7775
Assertions and a possible fix for EA-34423 - NPE: GenerationState.compileCorrectFiles
2012-03-12 16:42:31 +04:00
Andrey Breslav
9138d0f6d4
Comment added
2012-03-12 16:21:52 +04:00
Andrey Breslav
68698cb34a
Unnecessary creation of the default namespace eliminated
2012-03-12 16:21:52 +04:00
Andrey Breslav
c6fae0c18f
Aggregating scope refactored to into proper imports
2012-03-12 16:21:52 +04:00
Andrey Breslav
a0a4536c40
Debug output removed
2012-03-12 16:21:52 +04:00
Andrey Breslav
3c71512850
Minimal refactoring that eliminates importing Java's root namespace by default.
...
All tests pass. Some beautifying needed
#KT-1477 Fixed
2012-03-12 16:21:52 +04:00
Andrey Breslav
6bc3bbb53d
Rename StandardConfiguration into DefaultModuleConfiguration
2012-03-12 16:21:52 +04:00
Andrey Breslav
61aac5d544
Configuration renamed into ModuleConfiguration
2012-03-11 18:57:38 +04:00
Nikolay Krasko
fba492c492
Completion for top-level functions from class and jar files.
2012-03-11 16:54:06 +04:00
Stepan Koltsov
4443f912af
fix PackageScope.getAllDescriptors
...
http://youtrack.jetbrains.com/issue/KT-1553
2012-03-11 15:49:54 +04:00
Stepan Koltsov
0c2b91aa10
KT-1536: parse Throwable as nullable in JavaDescriptorResolver
2012-03-11 15:24:46 +04:00
Andrey Breslav
67d2a8dcca
Work around the shallowly analyzed files
2012-03-11 13:46:50 +04:00
Andrey Breslav
57fb669670
Work around the shallowly analyzed files
2012-03-11 13:42:30 +04:00
Stepan Koltsov
997fbb60a3
using guice to wire TopDownAnalyzer beans
...
attempt 2
2012-03-10 00:54:16 +04:00
Andrey Breslav
97ec5b4344
Make JetLightClass analyze the whole project (with no caching, for now). This change is related to the following issues:
...
KT-1474 Execption when running kotlin project
KT-1501 Run script doesn't work in IDEA
In seems that to fix the problem completely, we need to avoid importing Java's default package into every file, but the problems reported in these requests are gone now.
#KT-1501 Fixed
#KT-1474 Fixed
2012-03-09 17:48:11 +04:00
Andrey Breslav
1aadf98951
Working around a problem with shallow analysis
2012-03-09 17:35:29 +04:00
Svetlana Isakova
c857785910
KT-1002 If there's no return in function highlight only last token but not last statement
2012-03-09 12:20:10 +04:00
James Strachan
562ba6b4de
further refactorings to work around kotlin compiler bugs (nested classes & access to public fields in java classes) so we can extend the KotlinCompiler from Kotlin code to add new arguments and compiler plugins
2012-03-08 11:58:02 +00:00
James Strachan
0c66d9db27
further minor refactorings so we can easily reuse the class and command line argument handling in other command line tools like kdoc
2012-03-08 09:19:15 +00:00
James Strachan
f43fd0f4f6
minor refactor to make KotlinCompiler easier to extend (to make command line based compiler tools with configurable plugins)
2012-03-08 08:05:47 +00:00
Andrey Breslav
a94b77ffc9
Revert GUICE introduction
2012-03-07 12:58:37 +04:00
Svetlana Isakova
e9a7a909f6
KT-1402 Create new Kotlin object from a Java public static inner class
2012-03-07 12:09:03 +04:00
James Strachan
f6244f75ea
minor refactoring to allow plugins to be added to the BytecodeCompiler
2012-03-07 07:36:18 +00:00
Stepan Koltsov
c3e2fc947d
using guice to wire TopDownAnalyzer beans
2012-03-07 04:09:12 +04:00
Stepan Koltsov
406c81fbb3
better diag in CompileEnvironmentTest
2012-03-07 04:09:00 +04:00
Stepan Koltsov
522083bf5a
lang package
2012-03-07 04:08:18 +04:00
Stepan Koltsov
5ae9cdff6b
link from method to similar
2012-03-07 04:07:14 +04:00