Commit Graph

1211 Commits

Author SHA1 Message Date
Alexey Andreev
1d45cd4d2b java.util.function 2015-08-01 21:54:47 +03:00
Alexey Andreev
afac931c62 Fix bug in annotation support 2015-08-01 14:42:40 +03:00
Alexey Andreev
0b7e78d9f9 Fix bug in dependency checker. Additional test cases for lambdas 2015-08-01 14:32:15 +03:00
Alexey Andreev
8cd134bc90 Fix bugs in emit API 2015-08-01 12:57:43 +03:00
Alexey Andreev
11ce75af74 Fix LambdaMetafactory support for different cases 2015-07-31 23:13:05 +03:00
Alexey Andreev
fe940bc084 Refactor TeaVM to use new default methods of ClassReaderSource instead
of manual traversing through class hierarchy
2015-07-31 23:12:38 +03:00
Alexey Andreev
57a39a156a Emit neg and not 2015-07-31 17:20:21 +03:00
Alexey Andreev
e95b537687 Fix bugs in emit API 2015-07-30 23:09:07 +03:00
Alexey Andreev
0be4ca336d Fix bugs in emit API 2015-07-30 18:11:31 +03:00
Alexey Andreev
ce525f0a78 Add support for reference equality condition emitter 2015-07-29 17:45:22 +03:00
Alexey Andreev
8ba1598c08 Add emitter for switch (string) construction 2015-07-29 17:19:22 +03:00
Alexey Andreev
3eea8da7fa Improving emit API 2015-07-27 17:46:55 +03:00
Alexey Andreev
00a751ef13 Merge branch 'master' into emit-api
Conflicts:
	teavm-core/src/main/java/org/teavm/model/emit/ProgramEmitter.java
	teavm-core/src/main/java/org/teavm/model/emit/ValueEmitter.java
2015-07-26 23:44:24 +03:00
Alexey Andreev
5aa526bc34 Remove unnecessary plugin executions 2015-07-26 23:14:08 +03:00
Alexey Andreev
c67f493187 Remove retrolambda 2015-07-26 23:11:14 +03:00
Alexey Andreev
13353d0bde LambdaMetafactory support 2015-07-26 18:47:37 +03:00
Alexey Andreev
d5f5e2633b InvokeDynamic support 2015-07-26 15:46:49 +03:00
Alexey Andreev
50b42ab092 Implementing InvokeDynamic instruction 2015-07-26 12:57:35 +03:00
Alexey Andreev
ea89ecc6b7 Further improvements in emit API 2015-07-24 17:50:58 +03:00
Alexey Andreev
d5815b9150 Refactoring emit API 2015-07-23 19:02:53 +03:00
Alexey Andreev
bda49b95bd Fix build. Apply rules to some classes of teavm-classlib 2015-07-23 15:31:49 +03:00
Alexey Andreev
4548705620 Apply new checkstyle rules 2015-07-23 11:47:14 +03:00
Alexey Andreev
c20209e651 Rewrite with lambdas some more code 2015-07-22 22:43:50 +03:00
Alexey Andreev
6f3d80ffe1 Merge remote-tracking branch 'origin/master' 2015-07-22 22:29:37 +03:00
Alexey Andreev
06372c2f9f Switch to Java 8 2015-07-22 22:29:19 +03:00
Alexey Andreev
a82eaf38da Merge pull request #144 from mpoindexter/master-add-mse-elements
Add MediaSourceExtension elements
2015-07-21 18:37:51 +03:00
Alexey Andreev
3cc63c1071 Merge pull request #142 from mpoindexter/master-fix-bytebuffer
Various fixes to ByteBuffer
2015-07-21 18:37:26 +03:00
Alexey Andreev
6dbdd4d740 Merge pull request #141 from mpoindexter/master-system-console
Implement System.console().  Since this method is defined to return null
2015-07-21 18:36:49 +03:00
Alexey Andreev
b9f43b981f Merge pull request #140 from mpoindexter/master-fix-collections-binary-search
Fix the order comparison is applied in for binarySearch to match the …
2015-07-21 18:36:20 +03:00
Alexey Andreev
0e4f14958a Merge pull request #145 from mpoindexter/master-add-class-simplename
Implement Class.getSimpleName
2015-07-21 18:36:04 +03:00
Alexey Andreev
5d4f3036a7 Merge pull request #139 from mpoindexter/master-fix-character-numeric-value
Fix for Character.getNumericValue.
2015-07-21 18:35:11 +03:00
Mike Poindexter
5c53d98f3e Change comparison instead of multiplying by -1 2015-07-20 23:53:17 -07:00
Mike Poindexter
cdedbd0de5 Add tests 2015-07-20 23:33:59 -07:00
Mike Poindexter
d86c424aad Add tests and implement proper behavior for arrays 2015-07-20 23:00:32 -07:00
Mike Poindexter
6767866737 Add copyright header 2015-07-20 21:59:08 -07:00
Mike Poindexter
01f07edd1a Change copyright year 2015-07-20 21:56:13 -07:00
Alexey Andreev
fa79992b44 Merge pull request #143 from mpoindexter/master-add-xmlhttprequest-getheader
Add getHeader to XmlHttpRequest
2015-07-21 07:26:21 +03:00
Mike Poindexter
58fe520d0b Add MediaSourceExtension elements 2015-07-20 18:29:38 -07:00
Mike Poindexter
d14f50d07f Add getHeader to XmlHttpRequest 2015-07-20 18:29:08 -07:00
Mike Poindexter
a3e0e44789 Add LinkedBlockingDeque 2015-07-20 18:28:38 -07:00
Mike Poindexter
b74f6d7ad8 Fix the order comparison is applied in for binarySearch to match the JDK.
This is necessary since accoding to the method signature of binarySearch
only the elements of the list must implement Comparable<T>, not the key
itself.
2015-07-20 18:27:58 -07:00
Mike Poindexter
814c8f80d5 Various fixes to ByteBuffer
-Fix exception when put()'ing a zero byte array
-Fix getInt() methods returning a short value
-Fix relative get() using the index instead of the supplied position
-Add long put/get
2015-07-20 18:27:27 -07:00
Mike Poindexter
a2a679b2e3 Implement Class.getSimpleName 2015-07-20 18:27:02 -07:00
Mike Poindexter
fdbdf07dbf Fix for Character.getNumericValue.
UnicodeHelper.encodeIntByte/decodeIntByte produced garbage character metadata
since 'z' + [some high byte value] produced a character greater than 255, which
did not properly survive the encoding/decoding process.

Instead, use Base46.encode/decode which uses only printable characters in the string.
2015-07-20 18:24:45 -07:00
Mike Poindexter
59fd601a9c Implement System.console(). Since this method is defined to return null
if no console is available, return null.
2015-07-20 18:24:10 -07:00
Alexey Andreev
0b7f3c14ac Merge pull request #138 from The-Alchemist/patch-1
fixed typo
2015-07-09 07:04:00 +03:00
The Alchemist
5fff71094a fixed typo 2015-07-08 21:47:55 -04:00
Alexey Andreev
c4bb803965 Remove unnecessary serialization code from java.util.regex.Pattern 2015-07-06 22:07:18 +03:00
Alexey Andreev
d8a1983876 Fix java.util.HashSet.clone method 2015-07-06 22:06:31 +03:00
Alexey Andreev
4a19aaf091 Avoid invalid merging of phi-sourced nodes in DFG 2015-07-06 22:06:09 +03:00