Sergey Lukjanov
99c7b9ef3e
Autoimports tests has been updated.
2012-03-30 18:34:04 +04:00
Sergey Lukjanov
9f07f117fb
Small fixes of import quickfix:
...
1. Change import popup title and import message;
2. Remove duplicates of top level and extension functions (in the case of overloaded functions) in import quickfix popup.
2012-03-30 17:46:54 +04:00
Svetlana Isakova
8b45b26785
reordered modifiers order: visibility first in j2k converter
2012-03-30 14:37:15 +04:00
Svetlana Isakova
83426659f1
j2k tests fixed
2012-03-30 14:11:44 +04:00
James Strachan
8299ffa690
implemented Stepan's excellent suggestion of a cleaner computeNext() method on AbstractIterator to make a little easier to implement clean iterators - and avoid pesky nulls in the process
2012-03-30 11:08:01 +01:00
Svetlana Isakova
d4d177c0ed
added 'public' annotation to library functions
2012-03-30 13:38:36 +04:00
Svetlana Isakova
4f30e12177
fixes after merge
2012-03-30 13:38:36 +04:00
Svetlana Isakova
c961613cf8
returned right type if there was only one failed candidate property
2012-03-30 13:38:36 +04:00
Svetlana Isakova
5419b0a3dc
Tests fixed after visibility changing
2012-03-30 13:38:36 +04:00
Svetlana Isakova
167a9c444a
Added 'public' annotation and specified return types for library functions
2012-03-30 13:38:35 +04:00
Svetlana Isakova
aefabd132e
Added 'package member cannot be protected' error
2012-03-30 13:38:35 +04:00
Svetlana Isakova
b0e301ae9f
Invisible call candidates removed from consideration
2012-03-30 13:38:35 +04:00
Svetlana Isakova
13173f75b5
Added 'local' visibility to local descriptors
2012-03-30 13:38:35 +04:00
Svetlana Isakova
3c5d4f6857
'isVisible' strategy added to Visibility interface
2012-03-30 13:38:35 +04:00
Svetlana Isakova
7df4e6728b
'isSubClass' method moved to DescriptorUtils
2012-03-30 13:38:35 +04:00
Pavel V. Talanov
2650e9f6b0
Support when without expression.
...
#KT-1666 Fixed
2012-03-30 13:28:05 +04:00
Pavel V. Talanov
fd19c9fae8
Add safeParseInt and safeParseDouble to standard library.
2012-03-30 13:28:05 +04:00
Pavel V. Talanov
36e242a9e6
Add test for uncovered case.
2012-03-30 13:28:04 +04:00
James Strachan
fbd1279cc9
removed Iterator.toString() as it changes the iterator state, the default is fine and folks should be explicit about iterating over an iterator. Also disabled the default limit on the iterator on join(); if folks want to limit the join they should be explicit
2012-03-30 10:24:27 +01:00
James Strachan
25c0ed3279
enabled the js example project
2012-03-30 09:43:05 +01:00
Stepan Koltsov
4c41e0bb47
fix js backend broken recently
2012-03-30 03:55:02 +04:00
Stepan Koltsov
2c4094f4d4
proper environment when compiling special things
...
* do not include anything when compiling builtins
* do not include kotlin-runtime and jdk-headers when compiling jdk-headers
2012-03-30 03:54:58 +04:00
Stepan Koltsov
3ee7bcee25
diag in DeclarationResolver
2012-03-30 02:35:09 +04:00
Stepan Koltsov
256a4bf5f7
properly check for anonymous namespace
2012-03-30 01:21:39 +04:00
Stepan Koltsov
87847fac85
unhardcode <root> identifiers
2012-03-30 01:11:03 +04:00
Stepan Koltsov
8526397338
rhino jar: add name, version, src
2012-03-30 00:31:06 +04:00
James Strachan
9d1a3873df
added a basic working JS compiler maven plugin (though it doesn't currently let you specify any library files to compile)
2012-03-29 21:04:24 +01:00
James Strachan
04905c106a
added a little sample maven project to test out the JS maven plugin (its not quite working yet :)
2012-03-29 20:50:36 +01:00
James Strachan
abe72e5adc
added a spike of a pure Java set of kotlin maven plugins which use the kotlin-compiler, build tools and associated dependencies from the Ant build. The kotlin-install module installs all the Ant build stuff into the local mvn repo, so they can be shaded and included into the plugin itself so it can be easily used from any mvn like build
2012-03-29 20:48:06 +01:00
Stepan Koltsov
ec367a0bf0
merge copy-paste after excessive inline in e6fda5
2012-03-29 23:39:01 +04:00
Maxim Shafirov
060be0a8f8
Refactor dependencies, so jet-as-java might be used in cli.
2012-03-29 21:18:35 +04:00
James Strachan
b29c31ad2d
fixed up kdoc after Andrey's changes
2012-03-29 16:54:59 +01:00
Stepan Koltsov
e6fda5b3d3
minor codegen refactoring
...
* cleanup after yesterday
* remove BindingContext stack in GenerationState
* use more power and strength of di
TODO: also initialize GenerationState by DI
2012-03-29 19:47:50 +04:00
James Strachan
d76454ce08
merged with Andrey's changes
2012-03-29 16:40:44 +01:00
James Strachan
beedd36456
refactored out the KDocLoader stuff from the KotlinCompiler; also introduced CompilerPluginContext to wrap up the Project, BindingContext and List<JetFiles> in case a plugin were to need any of those things (or we added extra stuff later like the environment)
2012-03-29 16:37:36 +01:00
Andrey Breslav
ed04839901
renaming/code moving to meet the code style
2012-03-29 19:22:55 +04:00
Maxim Shafirov
752949687d
local JB updates fixed
2012-03-29 18:38:43 +04:00
Stepan Koltsov
54cb05f295
di: do not use tmpfile on windows
2012-03-29 17:45:02 +04:00
James Strachan
2f1ceba317
Merge pull request #33 from franckrasolo/stdlib
...
#KT-1650 Fixed
2012-03-29 06:18:06 -07:00
Andrey Breslav
320241d107
Proper error reporting when a package name redeclares something, wrt the package name occurring in multiple files
...
See MultiFilePackageRedeclaration.jet test
2012-03-29 16:18:42 +04:00
Andrey Breslav
0ae59df0b1
A little renaming to make code more clear
2012-03-29 16:17:43 +04:00
Andrey Breslav
8442521c64
Fixing the order of tasks to have the code compiled after the version is put there
2012-03-29 15:44:34 +04:00
Leonid Shalupov
daa0963fbe
plugin-publisher: get IDEA 11.1
2012-03-29 14:35:29 +04:00
James Strachan
a970fd24f3
include the j2k in the build tools jar
2012-03-29 09:51:51 +01:00
James Strachan
338638d4f5
first spike of fix for KT-1668 to help github syntax highlighter; will rename more when Franck is done with his patches on the collection stuff
2012-03-29 09:32:56 +01:00
James Strachan
89038227d8
first spike attempting to implement KT-1453 though hit a compiler error
2012-03-29 08:58:58 +01:00
James Strachan
316372f8b5
minor change to allow CompilerPlugins to be registered programatically
2012-03-29 08:48:28 +01:00
Stepan Koltsov
5bef29870d
more di in jvm.codegen
2012-03-29 01:37:02 +04:00
Stepan Koltsov
1e330fe0a0
jvm.backend: get JetStandardLibrary from analyzer
...
This is a big step towards removal of JetStandardLibrary.getInstance()
2012-03-29 01:03:44 +04:00
Stepan Koltsov
12c27d42c2
remove outdated comment
2012-03-28 23:56:37 +04:00