Commit Graph

1027 Commits

Author SHA1 Message Date
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
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
Alexey Andreev
fc31f68e60 Update README.md 2015-06-25 22:19:53 +03:00
Alexey Andreev
ef8543d510 In html4j add support of JavaScript int to Java long marshall; add
support of Byte and Short wrappers.
2015-06-24 18:02:41 +04:00
Alexey Andreev
c9e9e3654a Fix dependency error in some programs that use annotation API 2015-06-23 19:17:32 +04:00
Alexey Andreev
49e6050871 Add wildcard-based class exclusion from JUnit mojo 2015-06-23 18:23:57 +04:00
Alexey Andreev
e3017828d8 Eclipse builder is triggered by resource modification 2015-06-22 17:59:44 +04:00
Alexey Andreev
4641f9ca87 Fix remaining tests for java.util.regex 2015-06-21 08:41:36 +03:00
Alexey Andreev
ec463124c9 Return Character.SURROGATE from Character.getType when actually
surrogate code point was specified
2015-06-20 22:51:33 +03:00
Alexey Andreev
48d2732acc Fix errors that cause several regex tests to fail 2015-06-20 22:27:41 +03:00
Alexey Andreev
8926306f17 Refactor dependency checker 2015-06-20 20:27:43 +03:00
Alexey Andreev
3e036619a2 Partial fix for https://github.com/konsoletyper/teavm/issues/79
Diagnostic is only shown on overriding method usage. Instead, some
global mechanism (such as annotation processor) should be used.
2015-06-20 20:03:37 +03:00
Alexey Andreev
cc69c607ba Refactor emit API 2015-06-20 19:29:13 +03:00
Alexey Andreev
5b5f4fd176 Add Thread.interrupt support 2015-06-20 19:19:50 +03:00
Alexey Andreev
e59351723a Remove unnecessary debugging code 2015-06-20 18:41:23 +03:00
Alexey Andreev
4e5e4af3e6 Add support for NumberFormat.get*Format methods 2015-06-20 18:37:48 +03:00