Commit Graph

1402 Commits

Author SHA1 Message Date
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
Alexey Andreev
1b643a2ad6 Fix https://github.com/konsoletyper/teavm/issues/134 2015-07-02 19:59:28 +03:00
Alexey Andreev
1ab1f48d33 Fix https://github.com/konsoletyper/teavm/issues/132 2015-07-02 19:40:47 +03:00
Alexey Andreev
5a1810c5e5 Fix https://github.com/konsoletyper/teavm/issues/129 2015-07-02 19:30:33 +03:00
Alexey Andreev
194356d3a3 Fix phi functions in emit API 2015-06-30 23:24:14 +03:00
Alexey Andreev
04c6d77c87 Fix bug in emit API 2015-06-30 23:08:58 +03:00
Alexey Andreev
6ab53cbf6a Fix https://github.com/konsoletyper/teavm/issues/130
Fix https://github.com/konsoletyper/teavm/issues/133
2015-06-30 15:41:49 +04:00
Alexey Andreev
d5da4964c4 Likely fix the issue: https://github.com/konsoletyper/teavm/issues/128 2015-06-30 13:50:09 +04:00
Alexey Andreev
fb086d5b26 Remove unnecessary dependencies from samples 2015-06-30 13:01:32 +04:00
Alexey Andreev
dd8708e015 Advance version to 0.4.0-SNAPSHOT 2015-06-30 13:00:35 +04:00