Stepan Koltsov
e5d7eafe92
stdlib is not needed in Read*BinaryClassTest
2012-04-19 14:05:40 +04:00
Stepan Koltsov
f50a31c74c
TimeUtils
2012-04-19 14:05:39 +04:00
Stepan Koltsov
4272e50d67
print what is currently compiled
2012-04-19 14:05:38 +04:00
Svetlana Isakova
4d62fbad2b
changed resolution order: first priority is 'local extensions; members; nonlocal extensions', than by implicit receivers (before was vice versa)
2012-04-17 14:05:45 +04:00
Andrey Breslav
882412ea06
Proper handling of compiler messages
...
We used to have a triple (errorStream, messageRenderer, verbose) to represent the error reporting strategy.
Now we have a single MessageCollector abstraction for this.
As the MessageCollector abstraction was extracted, the need to CompilerMessageLocation and CompilerMessageSeverity arose, too.
2012-04-13 19:38:23 +04:00
Andrey Breslav
71bac57411
Got rid of CompileSession class: this class shouldn't have had any objects, now it is transformed into KotlinToJVMBytecodeCompiler
2012-04-13 19:38:22 +04:00
Andrey Breslav
f34e492022
JetCoreEnvironment encapsulates a project (in the IDEA sense), so the classpath and sources lie in its area of responsibility
2012-04-11 16:13:11 +04: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
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
652be4ed95
Revert misleading whitespace changes.
2012-04-09 15:04:27 +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
ea6b54ee45
ForTestCompileBuiltins and ForTestCompileJdkHeaders
...
(will be used later)
2012-04-09 00:07:53 +04:00
Stepan Koltsov
956bf0107e
missed field name
2012-04-09 00:07:53 +04:00
Stepan Koltsov
4125a508ec
create forTestCompile package
2012-04-09 00:07:52 +04:00
Stepan Koltsov
d74c217936
rename stdlib to runtime
2012-04-08 23:31:29 +04:00
Stepan Koltsov
f16895ba65
new compiler mode: stdlib
...
include jdk-headers, do not include runtime
2012-04-08 02:08:27 +04:00
Stepan Koltsov
b38e171812
MapTypeMode and properly map builtins
...
used in JetTypeMapper in JetTypeMapper
* MapTypeMode contains no information not needed by JetTypeMapper
* MapTypeMode has separate VALUE and IMPL values that are needed to compile builtins
2012-04-07 06:32:18 +04:00
Pavel V. Talanov
766b4dc975
Move AnalyzerExhaust from frontend.java to frontend.
2012-04-04 16:11:40 +04:00
Alex Tkachman
ffbce7fe1e
KT-1589: Array<T>(size) renamed to arrayOfNulls
2012-04-02 14:30:37 +03:00
Alex Tkachman
a4ebbaa1a0
KT-1441 proper identityEquals
2012-04-02 13:32:31 +03:00
Alex Tkachman
9d752561eb
almost full support for annotations
2012-04-01 21:50:01 +03:00
Alex Tkachman
0cb26b0566
more annotations
2012-03-31 16:14:32 +03:00
Svetlana Isakova
4f30e12177
fixes after merge
2012-03-30 13:38:36 +04:00
Svetlana Isakova
5419b0a3dc
Tests fixed after visibility changing
2012-03-30 13:38:36 +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
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
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
Andrey Breslav
ed04839901
renaming/code moving to meet the code style
2012-03-29 19:22:55 +04: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
231a4d9940
injector for JVM codegen
2012-03-28 23:39:03 +04:00
Alex Tkachman
83ed0a846e
KT-1597 optimized as/as?
2012-03-26 16:56:24 +02:00
Alex Tkachman
d0e7248ec1
KT-628 !! support
2012-03-26 11:37:40 +02:00
James Strachan
e740c47e29
removed some of the cruft and redundant copies of junit.jar
2012-03-21 09:09:09 +00:00
Stepan Koltsov
089820fb38
fail properly if stdlib compilation failed
2012-03-19 23:25:18 +04:00
Alex Tkachman
56eabfe07b
KT-1508 jet.Number -> j.l.Number
2012-03-17 13:57:45 +02:00
Alex Tkachman
6ff783e79b
KT-1592 don't write default values for annotations
2012-03-16 15:48:49 +02:00
Maxim Shafirov
e82dd48662
Progress messages when emitting classfiles
2012-03-14 21:59:51 +04:00
James Strachan
7ef65c0099
moved the stdlib tests into the same directory as the stdlib, so it works a bit better with maven support in IDEA
2012-03-14 16:14:14 +00:00
Svetlana Isakova
9dc9e9984b
KT-1572 Frontend doesn't mark all vars included in closure as refs.
2012-03-14 15:07:33 +04:00
Andrey Breslav
ca81d97b54
Year fixed in the copyright
2012-03-13 20:47:51 +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
Alex Tkachman
9aa992c209
fix for KT-1568 1.javaClass
2012-03-13 09:36:15 +02: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
f834ed4517
Paths fixed
2012-03-06 19:00:29 +04:00
James Strachan
ffa2b7b085
added a flag to indicate whether or not the module is being compiled or not (so we can defer compiler plugins until after the module is built)
2012-03-03 06:35:32 +00:00