Commit Graph

26244 Commits

Author SHA1 Message Date
Ilya Gorbunov 0a24ba77b5 Add extension operators plus and minus for FileCollection to make them resolve into gradle api, rather than collection api. 2015-09-26 00:12:31 +03:00
Ilya Gorbunov 3915cfcea6 Merge Lazy's declarations in one file. 2015-09-25 23:50:55 +03:00
Zalim Bashorov 03fe293ace Minor: fix testdata 2015-09-25 22:36:01 +03:00
Ilya Gorbunov 1145cc0d1b Lazy: changes and clarifications after code-review.
LazyThreadSafety.NONE is actually *NONE* now.
2015-09-25 21:49:49 +03:00
Ilya Gorbunov 74f39c2375 Provide LazyThreadSafetyMode.PUBLICATION: concurrent non-blocking initializations, single publication. 2015-09-25 21:49:46 +03:00
Ilya Gorbunov 4a062698f2 Introduce final field in SynchronizedLazyImpl to enable safe publication. 2015-09-25 21:49:42 +03:00
Michael Nedzelsky 1986d8d7f8 add test for private in file 2015-09-25 21:16:04 +03:00
Michael Nedzelsky c62b9dc416 remove test for KT-2257: cannot access private namespace var in multi-file namespace 2015-09-25 21:16:04 +03:00
Michael Nedzelsky 2f9151ec18 remove incremental test: accessPrivateMembers 2015-09-25 21:16:03 +03:00
Zalim Bashorov c7c7382b8e Minor: fix testdata 2015-09-25 21:16:02 +03:00
Michael Nedzelsky 759c325e8b NoInternalVisibilityInStdLibTest: skip explicit internal modifiers 2015-09-25 21:16:02 +03:00
Michael Nedzelsky 2ad1459948 NoInternalVisibilityInStdLibTest: get rid of warnings 2015-09-25 21:16:01 +03:00
Zalim Bashorov 8cb87b3e49 private -> internal where it's necessary 2015-09-25 21:16:00 +03:00
Michael Nedzelsky 0d2196e226 ACCESS_TO_PRIVATE_TOP_LEVEL_FROM_ANOTHER_FILE: warning -> error 2015-09-25 21:13:18 +03:00
Ilya Gorbunov 1598660870 Deprecate extension property String.reader in favor of existing extension method reader() in kotlin.io package. 2015-09-25 21:10:20 +03:00
Ilya Gorbunov 379c39a2ef Move ByteArray.inputStream() method from kotlin package to kotlin.io 2015-09-25 21:10:17 +03:00
Ilya Gorbunov 8de40c01b9 Fix changed stdlib source file names in stepping tests. 2015-09-25 21:10:15 +03:00
Ilya Gorbunov 1622cf9506 Fix stdlib facade names in bytecode generation and decompilation tests. 2015-09-25 21:10:13 +03:00
Ilya Gorbunov ed2b118fc8 Update java examples 2015-09-25 21:10:11 +03:00
Ilya Gorbunov 60c2f0fe0b Redistribute generated code between files. 2015-09-25 21:10:08 +03:00
Ilya Gorbunov 3e018f3a9f Annotate hand-written code with desired package part names. 2015-09-25 21:10:06 +03:00
Ilya Gorbunov 63f90eacdd Move flatten and unzip to parts corresponding to the receiver type of operation. 2015-09-25 21:10:03 +03:00
Ilya Gorbunov 3d7ff5c573 Move IO utility methods to corresponding parts. 2015-09-25 21:10:01 +03:00
Ilya Gorbunov bf8df0f764 Move toRegex extension in kotlin package 2015-09-25 21:09:59 +03:00
Ilya Gorbunov 9ba50bcdff Move map- and set-related methods to corresponding parts. 2015-09-25 21:09:56 +03:00
Ilya Gorbunov f6e0ef83e5 Move constants out of Console.kt 2015-09-25 21:09:54 +03:00
Ilya Gorbunov 058f2a8bd2 Move File-related extensions out of ReadWrite.kt 2015-09-25 21:09:52 +03:00
Ilya Gorbunov 13132e7483 Move synchronized method out of JLangJVM 2015-09-25 21:09:50 +03:00
Ilya Gorbunov 27ab643d3f Move to method to Tuples 2015-09-25 21:09:47 +03:00
Ilya Gorbunov 6bb88df693 Turn off Xmultifile-package-facades option for stdlib. 2015-09-25 21:09:45 +03:00
Ilya Gorbunov 0c777b87ed Add JvmMultifileClass to js as internal annotation. 2015-09-25 21:09:43 +03:00
Ilya Gorbunov d40bbf6acb Allow to annotate generated code as jvm-only. 2015-09-25 21:09:40 +03:00
Ilya Gorbunov 1deb8b9dda Rename conflicting parts: add "Kt" 2015-09-25 21:09:38 +03:00
Ilya Gorbunov 473698a7e8 Generate JvmMultifileClass annotation on parts. 2015-09-25 21:09:36 +03:00
Ilya Gorbunov 2bc1fbab3f Allow stdlib generator to distribute concrete functions between different target files. 2015-09-25 21:09:33 +03:00
Ilya Gorbunov 947b8ac428 ant build: Do not preprocess stdlib source for JVM, only for JS. 2015-09-25 21:09:31 +03:00
Ilya Gorbunov 12d218632c logging: debug enabled for CLI 2015-09-25 21:09:29 +03:00
Ilya Gorbunov 9970c34961 Preprocessor: improved logging. 2015-09-25 21:09:27 +03:00
Ilya Gorbunov 7f5c3e15e4 Annotate stdlib jvm-only files without JVM suffix. 2015-09-25 21:09:24 +03:00
Ilya Gorbunov 1df4ab847d Remove task for ant, include preprocessor into the compiler, call preprocessor in ant build. 2015-09-25 21:09:22 +03:00
Ilya Gorbunov e8c93abdb5 Developing preprocessor task for ant 2015-09-25 21:09:20 +03:00
Ilya Gorbunov 7b206fdaf4 Refactor a bit 2015-09-25 21:09:18 +03:00
Ilya Gorbunov d76e177834 Each platform is processed separately but in parallel. 2015-09-25 21:09:15 +03:00
Ilya Gorbunov 706771829e Processing sources for multiple platforms in one pass. 2015-09-25 21:09:13 +03:00
Ilya Gorbunov ae51f2eb2a Annotation for preprocessor to mark declaration as jvm-only 2015-09-25 21:09:11 +03:00
Ilya Gorbunov de778d9865 Prototyping preprocessor: stripping declarations and replacing name. 2015-09-25 21:09:08 +03:00
Dmitry Jemerov 3d0e91065a quickfix for usages of operators that don't have the proper annotation 2015-09-25 20:00:29 +02:00
Dmitry Jemerov 8b0ccce4f1 code review; add 'operator' also to next() and hasNext(); check toplevel functions 2015-09-25 20:00:28 +02:00
Dmitry Jemerov e0f8d68a5f add 'operator' modifier when creating next() and hasNext() from usage 2015-09-25 20:00:28 +02:00
Dmitry Jemerov 1e2d4c0471 use setOf() instead of Guava sets 2015-09-25 20:00:27 +02:00