Commit Graph

494 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
11ce75af74 Fix LambdaMetafactory support for different cases 2015-07-31 23:13:05 +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
13353d0bde LambdaMetafactory support 2015-07-26 18:47:37 +03:00
Alexey Andreev
ea89ecc6b7 Further improvements in emit API 2015-07-24 17:50:58 +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
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
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
Mike Poindexter
5c53d98f3e Change comparison instead of multiplying by -1 2015-07-20 23:53:17 -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
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
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
1ab1f48d33 Fix https://github.com/konsoletyper/teavm/issues/132 2015-07-02 19:40:47 +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
dd8708e015 Advance version to 0.4.0-SNAPSHOT 2015-06-30 13:00:35 +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
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
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
4e5e4af3e6 Add support for NumberFormat.get*Format methods 2015-06-20 18:37:48 +03:00
Alexey Andreev
dbd2c3f6bc Add tests for annotation field types 2015-06-19 22:23:49 +03:00
Alexey Andreev
8daba1f09f Add support of annotation fields and default values 2015-06-19 19:42:06 +04:00
Alexey Andreev
32feb24d0f First working version of annotation support 2015-06-18 13:47:16 +04:00
Alexey Andreev
fd689d2efa Add very first draft of annotation support 2015-06-17 22:26:23 +03:00
Alexey Andreev
3cb39b9507 Add generator of method that reads annotations of a class 2015-06-17 21:48:48 +03:00
Alexey Andreev
c38c07becc Merge branch 'decimal-format' 2015-06-17 19:15:18 +04:00
Alexey Andreev
81d59d39c1 Add support of BigDecimal parsing in DecimalFormat 2015-06-17 19:14:38 +04:00
Alexey Andreev
a7e69cc8e2 Fix parsing of infinity value 2015-06-15 20:47:45 +03:00
Alexey Andreev
36a2999522 Fix https://github.com/konsoletyper/teavm/issues/126 2015-06-15 20:40:04 +03:00
Alexey Andreev
69ac393068 Add support of special values to DecimalFormat.parse 2015-06-14 21:29:31 +03:00
Alexey Andreev
ea49c9de9b DecimalFormat.parse support rounding & prefix/suffix 2015-06-14 17:04:26 +03:00
Alexey Andreev
857e336f03 Fix bugs in DecimalFormatParser.parse 2015-06-14 16:36:50 +03:00
Alexey Andreev
2fd1ca9777 Starting to implement DecimalFormat.parse 2015-06-10 22:34:52 +03:00
Alexey Andreev
3df3447a38 Add support of special symbols in DecimalFormat prefixes/suffixes 2015-06-10 21:24:48 +03:00