Evgeny Gerashchenko
33a242584f
Fixed highlighting of closure arrow in color settings, renamed corresponding property and expanded sample.
2012-04-11 15:53:57 +04:00
James Strachan
c79996183c
moved runnable{ ...} to the kotlin package where it belongs as it makes a standard java.lang functional interface
2012-04-11 10:52:39 +01:00
James Strachan
7f5631bcfc
added better tests to check if kdoc stops working again and a few more diagnostics and warnings
2012-04-11 09:55:04 +01:00
Andrey Breslav
88d3e3676c
Add Explicit Nullable annotation
2012-04-11 12:19:04 +04:00
James Strachan
f1a2caeb12
fix helper function to find NamespaceDescriptor in a file - thanks to Nikolay for the heads up
2012-04-11 09:05:17 +01:00
James Strachan
d3ec4240c1
Merge branch 'master' of github.com:JetBrains/kotlin
2012-04-11 06:25:36 +01:00
Leonid Shalupov
1752b6f13e
maven plugin: disable runtime hiding from compiler classpath
2012-04-10 23:44:56 +04:00
Leonid Shalupov
8baf7f50c1
don't set empty classpath
2012-04-10 23:26:45 +04:00
Leonid Shalupov
1a63f91cc5
maven plugin: exclude kotlin-runtime jar from classpath passed to compiler
2012-04-10 22:39:11 +04:00
Leonid Shalupov
863042da27
maven artifacts: runtime, stdlib -> kotlin-runtime, kotlin-stdlib
2012-04-10 22:39:11 +04:00
Stepan Koltsov
ff9af9b348
maven-plugin: log actual compiler arguments
...
mvn --debug prints compiler arguments
2012-04-10 22:08:47 +04:00
James Strachan
8c74b8fe2d
Merge branch 'master' of github.com:JetBrains/kotlin
2012-04-10 13:14:30 +01:00
James Strachan
dafcd95e36
added an extra test to check for bad kdoc results
2012-04-10 13:14:16 +01:00
James Strachan
2c0619d33d
added an extra property change helper method
2012-04-10 13:14:01 +01:00
Leonid Shalupov
ec15591208
maven plugin: bundle jdk headers
2012-04-10 15:44:07 +04:00
Leonid Shalupov
9b020ebc28
fix kdoc
2012-04-10 15:43:51 +04:00
Andrey Breslav
4242b847dc
Fixing the return type of split()
2012-04-10 15:40:57 +04:00
James Strachan
686924b919
added a start of a work around for KT-1752 not being implemented yet so folks can write nicer swing programs
2012-04-10 10:33:10 +01:00
James Strachan
c3b3e5c7c1
fixed up bad path
2012-04-10 09:40:09 +01:00
Stepan Koltsov
a889e29147
else on the next line
...
as requested by http://confluence.jetbrains.net/display/JET/Code+Conventions+for+Java
(sed is your friend)
2012-04-10 00:03:13 +04:00
Stepan Koltsov
0d8088268a
extract code to method
2012-04-09 23:49:45 +04:00
Leonid Shalupov
7270f7eb60
compilation
2012-04-09 23:21:39 +04:00
Leonid Shalupov
db2e3b73aa
fix kunit compilation
2012-04-09 23:03:24 +04:00
Leonid Shalupov
d02928715b
maven plugin: don't automatically include runtime
2012-04-09 22:51:06 +04:00
Leonid Shalupov
083ade9f68
compilation
2012-04-09 22:37:38 +04:00
Stepan Koltsov
c08965c336
split GenericIterator test
2012-04-09 22:31:57 +04:00
Stepan Koltsov
a034eefb51
js: rename "anonymous" ns to "root"
...
also use constant field instead of hardcoded literal in tests
2012-04-09 22:31:57 +04:00
Stepan Koltsov
74233edafc
move code
2012-04-09 22:31:57 +04:00
Stepan Koltsov
abfd03cae3
descriptor name cannot be empty string
...
* add assertion
* fix tests
* #KT-1748 Fixed
2012-04-09 22:31:56 +04:00
Leonid Shalupov
5ec31b8cdc
libraries/tools: pack sources for stdlib
2012-04-09 22:31:15 +04:00
Leonid Shalupov
6d47a3c2dc
libraries/tools: compile kotlin runtime in maven build
2012-04-09 22:31:14 +04:00
Stepan Koltsov
ea1592e8a3
validate identifier names
2012-04-09 21:25:01 +04:00
Stepan Koltsov
d889ca37b8
rename js DescriptorUtils
2012-04-09 21:24:51 +04:00
Stepan Koltsov
19d7539a45
useful assertion in js backend
2012-04-09 20:45:31 +04:00
Stepan Koltsov
03e78e8cc3
Revert "add runtime to classpath in JetCoreEnvironment" temporarily
...
This reverts commit 59c7f33c88 .
2012-04-09 18:54:42 +04:00
Stepan Koltsov
9711d18dca
Revert "BytecodeCompilerTest" temporarily
...
This reverts commit 18170a0b29 .
2012-04-09 18:54:28 +04:00
Stepan Koltsov
18170a0b29
BytecodeCompilerTest
2012-04-09 18:22:23 +04:00
Stepan Koltsov
59c7f33c88
add runtime to classpath in JetCoreEnvironment
2012-04-09 18:22:23 +04:00
Stepan Koltsov
a41edaa224
better tmp dir name in TestCaseWithTmpdirIndependentFromIdea
2012-04-09 18:22:22 +04:00
Stepan Koltsov
bcbcb48ef8
remove unused parameters
2012-04-09 18:22:22 +04:00
Pavel V. Talanov
7dd0e50bcd
Merge with branch "AnalyzerJS"
2012-04-09 17:08:57 +04:00
Pavel V. Talanov
a030576052
Merge from brahch analyzeJS.
...
Conflicts:
compiler/backend/src/org/jetbrains/jet/codegen/GenerationState.java
compiler/cli/src/org/jetbrains/jet/compiler/CompileSession.java
compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/java/AnalyzerFacadeForJVM.java
compiler/tests/org/jetbrains/jet/codegen/GenerationUtils.java
compiler/tests/org/jetbrains/jet/resolve/ExpectedResolveData.java
compiler/tests/org/jetbrains/jet/types/JetDefaultModalityModifiersTest.java
idea/src/org/jetbrains/jet/plugin/libraries/JetSourceNavigationHelper.java
idea/src/org/jetbrains/jet/plugin/parameterInfo/JetFunctionParameterInfoHandler.java
idea/src/org/jetbrains/jet/plugin/project/WholeProjectAnalyzerFacade.java
idea/src/org/jetbrains/jet/plugin/quickfix/ChangeVariableMutabilityFix.java
idea/src/org/jetbrains/jet/plugin/quickfix/ImportInsertHelper.java
idea/src/org/jetbrains/jet/plugin/quickfix/QuickFixUtil.java
idea/src/org/jetbrains/jet/plugin/refactoring/JetNameSuggester.java
idea/src/org/jetbrains/jet/plugin/refactoring/JetRefactoringUtil.java
idea/src/org/jetbrains/jet/plugin/refactoring/introduceVariable/JetIntroduceVariableHandler.java
2012-04-09 17:06:56 +04:00
Pavel V. Talanov
ff1cd1c4f7
Typo in the comment.
2012-04-09 15:19:05 +04:00
Pavel V. Talanov
652be4ed95
Revert misleading whitespace changes.
2012-04-09 15:04:27 +04:00
Pavel V. Talanov
62efa95211
Change indication filename to ".kotlin-js"
2012-04-09 14:20:08 +04:00
Pavel V. Talanov
0f44771447
Resolve circular dependency. Introduce JsAnalyzerFacadeForIDEA.
2012-04-09 13:50:48 +04:00
Nikolay Krasko
7de5f68629
KT-1238 Completion of 'break' keyword: why does it add space char at the end?
...
KT-1237 Auto-completion of "return" keyword should not insert space after it when in a method returning Unit
#KT-1237 fixed
#KT-1238 fixed
2012-04-09 11:43:46 +04:00
Stepan Koltsov
bd501f3676
minor JavaDescriptorResolver refactoring
2012-04-09 03:26:04 +04:00
Stepan Koltsov
10dd366216
CompilerDependencies
...
Holds reference to runtime.jar and jdk-headers.jar. Paths to these
jars are no longer hardcoded.
Many tests now compile runtime before execution. Because of this:
* Single test invocation is significantly slower now for some tests
* This can be fixed by making tests independent from runtime (this
must be done anyway)
Some tests still depend on runtime.jar built by "ant dist", this
is to be fixed.
2012-04-09 03:04:50 +04:00
Stepan Koltsov
aae7ba734d
useless environment field in CompileEnvironmentTest
2012-04-09 02:09:12 +04:00