Commit Graph

1270 Commits

Author SHA1 Message Date
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
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
d0e3b9fef0 Add Element.getBoundingClientRect(), see
https://github.com/konsoletyper/teavm/issues/125
2015-06-15 20:23:06 +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
Alexey Andreev
fc8200f135 Fix incremental build. Enable incremental build in junit CLI 2015-06-10 11:33:05 +03:00
Alexey Andreev
fe7ae9f052 Add multiplier support to DecimalFormat 2015-06-09 22:40:12 +03:00
Alexey Andreev
815b90459a Fix for formatting of large negative values 2015-06-07 23:28:39 +03:00