Pavel V. Talanov
b3ffaa89c3
Better handling of user provided paths.
2012-04-25 14:24:00 +04:00
Stepan Koltsov
3b0c9244c9
di: @PreDestroy
...
I need in my private experiments
2012-04-20 21:33:18 +04:00
Stepan Koltsov
994e6fe009
di: store everything in fields
...
needed to implement @PreDestroy
2012-04-20 21:33:17 +04:00
Svetlana Isakova
5ec7617c7a
Call resolution refactoring (logic hasn't changed)
...
- interfaces MemberPrioritizer, ResolutionCandidate introduced
- CallTransformationStrategy will be responsible for variable with 'invoke' method as function resolve
2012-04-20 15:52:36 +04:00
Stepan Koltsov
71f89ef130
more descriptorToDeclaration utils
...
* custom versions
* normalization code moved out of norializer
* hide DESCRIPTOR_TO_DECLARATION (make package local)
2012-04-12 00:24:12 +04:00
Stepan Koltsov
e37f24ce4f
do not use BindingContext.DESCRIPTOR_TO_DECLARATION explictly
2012-04-12 00:24:12 +04:00
Stepan Koltsov
829f73cc5f
some classes from runtime.jar are not meant to be loaded by JDR
...
* assert runtime implementations from JetStandard* are not loaded
by JavaDescriptorResolver
* fix wrong @JetMethod in jet.Iterator
* fix jet.Iterator ns was created
* fix incorrect number of functions and tuples in JetStandardClasses
* added TODO about inconsisten Tuple class
2012-04-11 20:00:01 +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
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
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
0f44771447
Resolve circular dependency. Introduce JsAnalyzerFacadeForIDEA.
2012-04-09 13:50:48 +04:00
Pavel V. Talanov
6cf51fb20a
IDEAConfig move to idea module (circular dependency).
...
Slightly modify Config class.
2012-04-06 19:55:21 +04:00
Pavel V. Talanov
2150789502
AnalyzerFacadeForJS implements interface AnalyzerFacade.
...
Delete analyzer*WithCache methods from AnalyzerFacadeForJVM.
Introduce JsModuleDetector.
Move AnalyzerFacadeWithCache to idea module. Make it static, make it acquire facade through AnalyzerFacadeProvider.
2012-04-06 17:39:24 +04:00
Pavel V. Talanov
973c6f8d85
Read lib files for IDEA config from zip archive.
2012-04-04 16:08:11 +04:00
Pavel V. Talanov
638895dac7
Remove com.google.javascript.jscomp.ant package from closure-compiler.jar to avoid dependency on ant.jar.
2012-04-03 20:42:42 +04:00
Pavel V. Talanov
fc683e8141
Support for elvis operator.
2012-04-02 20:46:03 +04:00
Pavel V. Talanov
3fbbc71dcb
API update.
2012-04-02 20:46:02 +04:00
Pavel V. Talanov
042a3617f9
Add version and sources for dart jar. Add closure-compiler.jar (with license).
2012-04-02 20:46:01 +04:00
Alex Tkachman
ffbce7fe1e
KT-1589: Array<T>(size) renamed to arrayOfNulls
2012-04-02 14:30:37 +03:00
Pavel V. Talanov
fc843eca8f
Some tweaks in canvas api.
2012-03-30 20:03:07 +04:00
Pavel V. Talanov
d378e4bd06
Some hacky API tweaks to conform with new stdlib APIs.
2012-03-30 16:34:53 +04:00
Svetlana Isakova
167a9c444a
Added 'public' annotation and specified return types for library functions
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
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
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
Stepan Koltsov
6488d65259
rename method
2012-03-28 23:56:33 +04:00
Pavel V. Talanov
befe3246cc
Add some TODOs based on code coverage.
...
Fix some typos and minor code issues.
2012-03-28 21:20:38 +04:00
Pavel V. Talanov
87381a06a7
Test for inline dangerous expressions.
...
Better FindPreviousVisitor#hasDangerous implementation.
2012-03-28 21:20:38 +04:00
Pavel V. Talanov
e9f78b6fe2
Add test for another case.
2012-03-28 19:44:50 +04:00
Pavel V. Talanov
fd1d6e8dfc
Support inline for simple extension function case.
2012-03-28 19:42:57 +04:00
Pavel V. Talanov
b80b7a9050
Eliminate references of the callee in CallTranslator.
2012-03-28 19:42:56 +04:00
Pavel V. Talanov
003182f499
Big refactoring of CallTranslator.
2012-03-28 19:42:56 +04:00
Pavel V. Talanov
9b2dc6f584
More cases supported for inline functions: namespace level functions with parameters (not blocks)
2012-03-28 19:42:55 +04:00
Pavel V. Talanov
8843bac989
First stab at inline functions.
2012-03-28 19:42:54 +04:00
unknown
55def7f8ff
More api hack for some web demo js examples. (by Natasha)
2012-03-28 14:04:49 +04:00
Pavel V. Talanov
1e180f550f
Fixed a problem which sometimes caused expressions to be evaluated in the wrong order.
2012-03-28 14:04:47 +04:00
Svetlana Isakova
102d41fa2b
InjectorForTDAForJs auto changes
2012-03-27 16:39:25 +04:00
Svetlana Isakova
f7cfb36f62
# KT-1579 Fixed Can't import nested class/trait
2012-03-27 16:20:59 +04:00
Stepan Koltsov
bc17c7b4f3
injector to analyze js
2012-03-26 17:42:04 +04:00
Andrey Breslav
a89e26b3ac
Fixed test paths in JS tests
2012-03-24 08:13:57 +01:00