Pavel Talanov
85a57b3cf9
lots of api tweaks in jslib
...
some kotlin_lib functions
added support for native properties
added simple api for Canvas2D
2012-02-01 22:09:50 +04:00
Stepan Koltsov
0739332d97
Sometimes PsiClass'es are loaded twice for same class
...
This patch is workaround to fix tests.
2012-02-01 21:54:20 +04:00
Alefas
c8b4e5ec74
Introduce Variable feature (in pre-alpha quality).
...
Problems:
1. Still problems with containers, due to new for me JetContainerNode.
2. Needs name suggester
3. Needs name validator
4. Needs type annotation adding
5. Needs changing to var and checking write access of usages
6. Needs final modifier adding
7. Some problems on class and file level. Should be fixed. Problems with inplace rename on this positions. Additionally possibly should be added proper work with expressions on class body level and namespace/file level. It parsed as error now.
8. Needs much more tests than just 6.
2012-02-01 19:42:06 +04:00
Andrey Breslav
55fdeb9e35
Fixed fqn for the root package class
2012-02-01 18:41:15 +04:00
Stepan Koltsov
a9dedab481
better diag in JavaDescriptorResolver
2012-02-01 17:24:25 +04:00
Alex Tkachman
ac729504bf
functional list, queues and package for concurrent
2012-02-01 14:55:36 +02:00
Maxim Shafirov
699c43fe58
Simpler write() action
...
Useful Int.times(block) extension
2012-02-01 16:27:57 +04:00
Alex Tkachman
68a264154f
fixing upgrade logic bug
2012-02-01 13:06:11 +02:00
Alex Tkachman
e7812dc472
Executor.execute method added
2012-02-01 13:05:37 +02:00
Andrey Breslav
b2a8348c36
Refactored most of the static state out
2012-02-01 13:30:25 +04:00
Andrey Breslav
5d6846bdd9
Using enum instead of string constants for J2K options
2012-02-01 13:30:25 +04:00
Alex Tkachman
9559decfc0
some tweaks of VFS example to be more Kotlin
2012-02-01 10:48:28 +02:00
Alex Tkachman
5f9bab6c93
extension methods for j.i.Timer
2012-02-01 10:42:36 +02:00
Alex Tkachman
cb04ed1eb8
currentThread global property
2012-02-01 10:08:39 +02:00
Alex Tkachman
4a86f347b1
ValueParameterDescriptor must implement Annotated
2012-02-01 10:03:30 +02:00
Alex Tkachman
745d1658aa
locks support
2012-02-01 09:58:18 +02:00
Pavel Talanov
b43b559ca6
run code coverage
...
eliminate dead and unuseful code
2012-02-01 00:20:17 +04:00
Stepan Koltsov
e075bec4c0
JavaDescriptorResolver refactoring
...
* kill JavaDescriptorResolver.typeParameterDescriptorCache
* use ClassOrNamespaceDescriptor instead of DeclarationDescriptor
Code is a bit ugly now, but simpler than before.
2012-01-31 22:48:55 +04:00
Stepan Koltsov
c88940c07c
split diagnostics/alt-headers test
2012-01-31 22:22:39 +04:00
Maxim Shafirov
f3f725c94f
Code moved to IDEA core
2012-01-31 21:31:51 +04:00
Pavel Talanov
47252655c9
excluded workspace.xml
2012-01-31 21:27:54 +04:00
Pavel Talanov
562c0c7fe7
Vararg parameters in functions supported
2012-01-31 21:26:36 +04:00
Pavel Talanov
52344103d6
Switched to using native Javascript array for Kotlin's Array<T> instead of library class.
...
Motivation: better interop with native libraries
Index in bounds check is dropped for now.
2012-01-31 20:23:15 +04:00
Maxim Shafirov
311faa2f81
Kompiler misses it's directory in plugin layout
2012-01-31 20:21:53 +04:00
Maxim Shafirov
59c6bd184d
Proper alt class -> sources navigation“
2012-01-31 18:57:01 +04:00
Pavel Talanov
49c09ef43e
added array intrinsic declaration and reannotated intrinsic receiver to be Nullable instead of NotNull
2012-01-31 18:48:45 +04:00
Pavel Talanov
ccbc4c7ff6
obsolete tests deleted
...
javautil modified
kotlin_lib.js now inside a function
strange bug with js_lib
raphael.kt added
2012-01-31 18:15:47 +04:00
Andrey Breslav
a31027d2d3
Very basic stub implementation for annotation arguments
2012-01-31 16:43:20 +04:00
Maxim Shafirov
379e066dac
Correct finder implementation for inner classes
2012-01-31 15:50:59 +04:00
Andrey Breslav
b9ab6d1af2
Fix resolve tests: now the results are checked against alt-headers
2012-01-31 15:43:56 +04:00
Andrey Breslav
0a808617bb
Temporary workaround: commenting out red code
2012-01-31 15:12:40 +04:00
Andrey Breslav
b9bebb3ad4
Don't put two superclasses on the supertype list
2012-01-31 15:12:23 +04:00
Andrey Breslav
67d6bb9038
Move inner trait out of the class object
2012-01-31 14:50:00 +04:00
Andrey Breslav
1bca00ea96
A stub workaround for exception thrown when something is annotated with @Retention(RetentionPolicy.RUNITME) or something like this
2012-01-31 14:50:00 +04:00
Alex Tkachman
27425c5851
support for volatile
2012-01-31 12:21:18 +02:00
Nikolay Krasko
2826db7d9a
KT-1103 Public outer function from different package and source file is not visible in completion:
...
- Stubs elements are enabled
- Changed method for selecting indexing policy for plugin and compiler
- Quick fix for import unresolved top-level function added
2012-01-31 14:10:08 +04:00
Maxim Shafirov
dbbd4c6902
Make sure alt-headers actually work in "core" environment
2012-01-31 13:37:40 +04:00
Alex Tkachman
ef530de14b
guava version corrected
2012-01-31 10:14:03 +02:00
Andrey Breslav
bc62708fe9
Apology added to a bad test.
2012-01-31 11:48:33 +04:00
Andrey Breslav
6f97101810
A new test for alt-headers
2012-01-31 11:41:41 +04:00
Andrey Breslav
1b88be725a
Nullability fixed in a test
2012-01-31 11:37:01 +04:00
Pavel Talanov
0f823a64f4
using LibraryClass and LibraryFun(String) annotations to mark declarations that have custom implementations inside kotlin_lib.js
2012-01-30 23:25:08 +04:00
Pavel Talanov
e4d43c5147
refactor to implement library annotations
2012-01-30 23:06:49 +04:00
Andrey Breslav
b257ad4fa0
Temporarily revert to debug the tests
2012-01-30 22:25:08 +04:00
Andrey Breslav
7a7db291cc
Test fixed (nullability)
2012-01-30 22:12:03 +04:00
Andrey Breslav
5595e55ab9
A command-line argument to transform file names to *.java
2012-01-30 22:01:38 +04:00
Maxim Shafirov
73100134f9
Plugin&Tests: Build kotlinc by calling to build.xml rather than depending on Dist
2012-01-30 21:40:36 +04:00
Pavel Talanov
7a61a7520d
if as expression with control statements support
2012-01-30 21:17:32 +04:00
Maxim Shafirov
d14e38c7d6
Detect alt headers in locally built kompiler
2012-01-30 21:07:21 +04:00
Andrey Breslav
88d53d7734
Make it quiet
2012-01-30 20:52:29 +04:00