Commit Graph

382 Commits

Author SHA1 Message Date
konsoletyper
8dd5661dfa Add wrapping of ByteBuffer into CharBuffer 2014-10-29 21:44:38 +03:00
konsoletyper
5c8b80aa32 Add BufferedInputStream and StringTokenizer 2014-10-26 17:26:21 +03:00
konsoletyper
9902f583bd Throw NPE when regex pattern is null 2014-10-25 18:36:30 +04:00
Alexey Andreev
a0493055a8 Merge remote-tracking branch 'origin/regex' 2014-10-25 17:37:56 +04:00
Alexey Andreev
58ca7356bb Merge remote-tracking branch 'origin/regex' into regex 2014-10-25 17:37:08 +04:00
konsoletyper
b93c71ad41 Merge branch 'regex' 2014-10-25 16:09:35 +04:00
konsoletyper
e1d5b45750 Add some methods to String 2014-10-25 16:08:41 +04:00
konsoletyper
c47689dc30 Merge branch 'master' into regex 2014-10-25 16:00:39 +04:00
konsoletyper
ac519dd77e Add LongBuffer, FloatBuffer, DoubleBuffer 2014-10-25 15:59:47 +04:00
konsoletyper
1a2e78365b Add ShortBuffer and IntBuffer 2014-10-25 15:41:57 +04:00
konsoletyper
4629ff5450 Add CharBuffer 2014-10-25 15:07:45 +04:00
konsoletyper
f9cbcf4b80 Merge branch 'master' into nio 2014-10-25 13:21:07 +04:00
konsoletyper
ae9e38efd4 Merge branch 'master' into nio 2014-10-25 12:40:40 +04:00
konsoletyper
e7d51b6435 Add some tests for ByteBuffer 2014-10-25 12:40:23 +04:00
Alexey Andreev
4a3e11d1af Add test case for https://github.com/konsoletyper/teavm/issues/27 2014-10-22 22:49:47 +04:00
Alexey Andreev
f4641dc642 Add unit tests for ByteBuffer get and put methods 2014-10-22 22:41:31 +04:00
konsoletyper
3de49d6d54 Fix issues in strict mode 2014-10-19 11:02:56 +04:00
konsoletyper
0227c0cedf Fixes some test of ByteBuffer 2014-10-15 17:50:58 +04:00
Alexey Andreev
2cd397c81c Add some test cases for ByteBuffer 2014-10-13 21:24:18 +04:00
Alexey Andreev
b7725aa15a Remove unnecessary compareTo 2014-10-13 19:31:21 +04:00
konsoletyper
273fc59182 Switch version to 0.3.0-SNAPSHOT 2014-10-13 17:33:25 +04:00
Alexey Andreev
deb79213a4 Basic ByteBuffer implementation 2014-10-12 22:09:24 +04:00
Alexey Andreev
581cae0ef4 Bugfixes: https://github.com/konsoletyper/teavm/issues/23
https://github.com/konsoletyper/teavm/issues/22
https://github.com/konsoletyper/teavm/issues/21
2014-10-12 18:05:31 +04:00
Alexey Andreev
bc74f817fe Add 'T' prefix to regex implementation classes 2014-10-12 17:47:13 +04:00
Alexey Andreev
78f4f7a1ff Add regex methods into java.lang.String. Add group index checking into
java.util.regex.Matcher
2014-10-12 13:50:56 +04:00
Alexey Andreev
28251840ec Merge branch 'master' into regex 2014-10-12 11:57:59 +04:00
konsoletyper
9e09c247e6 Replace old code samples with new ones 2014-10-05 15:45:44 +04:00
Alexey Andreev
9d12bffc1b Add support of copying source files into Eclipse:
https://github.com/konsoletyper/teavm/issues/13
2014-09-27 19:23:05 +04:00
Alexey Andreev
7a02804544 Fix issue with java class library when building from Eclipse 2014-09-25 16:54:48 +04:00
konsoletyper
03daced41b Successfull build from PDE 2014-09-22 08:06:02 +04:00
konsoletyper
82802f723d Configuring shitty tycho 2014-09-21 21:38:28 +04:00
konsoletyper
ae3095f0ff Configure to build by tycho 2014-09-19 23:00:35 +04:00
konsoletyper
50a65c27e3 Fix minor issues 2014-09-11 17:12:53 +04:00
konsoletyper
b0b9287659 Fix NPE that is sometimes thrown when generating debug information.
Enable debug information for html4j TCK
2014-09-11 10:49:22 +04:00
konsoletyper
55c60ccc41 Merge branch 'master' into incremental 2014-09-09 21:16:37 +04:00
konsoletyper
2b8c7b68d8 Add StrictMath 2014-09-09 21:16:12 +04:00
konsoletyper
48faf88cc6 Fixes date/time formatting unit tests 2014-09-09 20:40:12 +04:00
konsoletyper
c478e965e4 Trying to fix bug that occurs during maven build on Max OS:
https://github.com/konsoletyper/teavm/issues/12
2014-09-09 19:37:42 +04:00
konsoletyper
520008913e Adds AST caching 2014-09-04 18:21:09 +04:00
konsoletyper
4f941e0a0a Refactor dependency checker 2014-09-03 21:08:19 +04:00
konsoletyper
8dada3b28c Adds support of some methods required by latest html4j. See
https://github.com/konsoletyper/teavm/issues/6
2014-09-02 12:11:13 +04:00
konsoletyper
569d6fa3e8 Multiple small improvements 2014-08-07 14:12:08 +04:00
konsoletyper
1b374c7466 Fixes variable mapping 2014-08-07 12:23:47 +04:00
konsoletyper
bc911a661a Begin to implement variable mapping 2014-08-04 23:22:41 +04:00
konsoletyper
ef700237f5 Fixes double and float rounding errors 2014-07-05 14:06:34 +04:00
konsoletyper
947d88a647 Fixes some bugs. Adds test case for Double.doubleToLongBits() 2014-07-04 18:10:48 +04:00
konsoletyper
fb4ec191d9 Fixes some tests 2014-07-03 18:09:00 +04:00
konsoletyper
81ac1568bf Fixes bugs and formatting 2014-07-03 14:06:14 +04:00
konsoletyper
45d0a10c8d Disables loop invariant motion for arrays 2014-06-28 11:20:38 +04:00
konsoletyper
084de3374e Fixes some bugs 2014-06-28 00:03:12 +04:00
konsoletyper
b21e1b4dd5 Fixes exception with Long.toString method. Fixes incorrect getMessage
invocation from unit test runner.
2014-06-27 23:03:58 +04:00
konsoletyper
87262f2e97 Fixes incorrect handling of one-block loops. Fixes infinite loop
generation.
2014-06-27 22:44:16 +04:00
konsoletyper
e5a4e3fa62 Adds java.math support 2014-06-27 18:04:42 +04:00
konsoletyper
08c912e80f DateTime sample shows usage of DateFormat 2014-06-27 16:52:03 +04:00
konsoletyper
54e0c43fb2 Speed up compilation when locales are not used 2014-06-27 16:10:51 +04:00
konsoletyper
b94d711732 Completes DateTimeFormat support 2014-06-26 18:06:31 +04:00
konsoletyper
52ed32e9aa Adds test form SimpleDateFormat. Adds tests for DateFormat 2014-06-26 12:34:46 +04:00
konsoletyper
9c8d137e90 Adds tests for several fields in SimpleDateFormat 2014-06-25 18:05:31 +04:00
konsoletyper
9e292eb7e5 Adds first SimpleDataFormat test 2014-06-24 18:18:34 +04:00
konsoletyper
2127ae4280 Further progress on SimpleDateFormat 2014-06-23 17:41:07 +04:00
konsoletyper
5fd0c47970 Starts implementing SimpleDateFormat 2014-06-19 17:43:44 +04:00
konsoletyper
f71f847411 Adds DecimalFormatSymbols support 2014-06-19 16:07:08 +04:00
konsoletyper
fd73145a9b Adds forgotten files 2014-06-18 18:10:10 +04:00
konsoletyper
dabc92b290 Adds skeleton of NumberFormat 2014-06-18 18:09:22 +04:00
konsoletyper
1443dc2f55 Adds short month and short weekday support 2014-06-17 18:15:52 +04:00
konsoletyper
8780a13ab3 Adds support of day periods and months to DateFormatSymbols 2014-06-16 17:39:25 +04:00
konsoletyper
ee5bcf2c32 Adds era translation support. Adds T prefix to java.text classes 2014-06-16 16:38:43 +04:00
konsoletyper
5351d08a29 Switches CLDR to using metadata provider 2014-06-15 15:12:43 +04:00
konsoletyper
7512817b3a Goes on further with rewriting locale code with metadata providers 2014-06-11 17:10:58 +04:00
konsoletyper
5063091126 Instroduces usage of a new metadata provider to implement locale methods 2014-06-10 16:47:04 +04:00
konsoletyper
c4d32fce85 Merge branch 'platform' into date2
Conflicts:
	pom.xml
2014-06-10 15:42:10 +04:00
konsoletyper
c3e30cc295 Dependency plugin receives DependencyAgent instead of DependencyChecker 2014-06-09 21:26:58 +04:00
konsoletyper
da2a26fb4f Adds more metadata usecases 2014-06-09 19:44:36 +04:00
konsoletyper
0ee5ba52c4 Removes primitive wrappers support from metadata providers 2014-06-09 17:08:49 +04:00
Alexey Andreev
a5f9e4a0b4 Bugfixes 2014-06-08 11:38:51 +04:00
Alexey Andreev
6992c81e8d Makes all current metadata provider tests passing 2014-06-07 15:48:57 +04:00
konsoletyper
c6e7b30bed Adds tests for metadata generators 2014-06-06 18:18:52 +04:00
konsoletyper
2cab17dee4 Merge branch 'date' into date2
Conflicts:
	teavm-classlib/src/main/java/org/teavm/classlib/impl/unicode/CLDRHelper.java
2014-05-29 18:37:24 +04:00
konsoletyper
13eb35e5a8 Fixes several bugs in Calendar implementation 2014-05-25 17:03:41 +04:00
konsoletyper
403e4a226e Fixes errors with week data 2014-05-24 19:48:05 +04:00
konsoletyper
e83fd18dec Adds datetime demonstration application. 2014-05-24 17:48:09 +04:00
konsoletyper
5770df5413 Further implementation of localized Calendar 2014-05-20 14:14:38 +04:00
konsoletyper
9df49fad0a Adds incomplete Calendar implementation 2014-05-19 17:40:16 +04:00
konsoletyper
fdf216a400 Adds momentjs script 2014-05-18 21:15:57 +04:00
konsoletyper
e2f1caa50a Adds initial implementation of Date class 2014-05-18 21:15:23 +04:00
konsoletyper
7ef412a9f1 Cleanup 2014-05-18 20:00:52 +04:00
konsoletyper
2e97872496 Adds formatting classes from the java.text package 2014-05-16 17:46:26 +04:00
konsoletyper
0cd1ddedc5 Fixes some compilation errors and applies formatting 2014-05-15 18:25:45 +04:00
konsoletyper
2817f7603d Adds initial implementations of date-relates classes 2014-05-15 17:40:20 +04:00
konsoletyper
2e5cdc109b Adds country name support to Locale 2014-05-14 21:29:32 +04:00
konsoletyper
f6055c5f78 First Locale working tests 2014-05-14 18:57:41 +04:00
konsoletyper
11ade7875a Adds initial version of CLDR reader 2014-05-13 18:31:03 +04:00
konsoletyper
2308d54099 Adds locale implementation using CLDR data 2014-05-12 17:41:50 +04:00
Alexey Andreev
a930e5f4dc Fixes the Math.ulp method 2014-05-11 15:45:35 +04:00
Alexey Andreev
45d0f56047 Adds TreeSet implementation 2014-05-11 15:27:59 +04:00
Alexey Andreev
3ce1eb4b19 Fixes VectorTest passing 2014-05-11 15:27:23 +04:00
Alexey Andreev
9a2d1b5e91 Adds implementation of several methods of TreeMap 2014-05-11 14:13:01 +04:00
Alexey Andreev
e2b2108a97 Fixes formatting 2014-05-10 20:34:30 +04:00
konsoletyper
4e4f2b332a Adds initial classes for java.util.regex from Apache Harmony 2014-05-08 16:57:14 +04:00
konsoletyper
27291367b7 Merge remote-tracking branch 'origin/master' 2014-05-08 16:04:43 +04:00
konsoletyper
255fe1b3b6 Fixes bugs in the recent collection framework implementation 2014-05-08 16:03:19 +04:00
konsoletyper
e206229db4 Adds several DOM wrappers 2014-05-06 22:55:35 +04:00
konsoletyper
1bd0a42103 Adds incomplete implementation of LinkedList 2014-05-06 17:00:33 +04:00
konsoletyper
e9af85534f Adds Vector and Hashtable 2014-05-06 15:33:56 +04:00
konsoletyper
abc6c83827 Fixes String.indexOf(String) issue 2014-04-25 14:35:14 +04:00
konsoletyper
3b2ec91d20 Adds PriorityQueue implementation 2014-04-24 18:18:53 +04:00
konsoletyper
6c3d95a935 Fixes error in Arrays.binarySearch 2014-04-12 12:39:01 +04:00
konsoletyper
ad3fa3b531 Fixes bugs 2014-04-07 13:01:19 +04:00
konsoletyper
15478da9ed Fixes ByteOrder error 2014-04-07 11:15:39 +04:00
konsoletyper
684d1f2be8 Fixes bugs in JCL implementation 2014-04-05 11:14:43 +04:00
konsoletyper
99c9617834 Adds LinkedHashMap and LinkedHashSet 2014-04-03 22:07:25 +04:00
konsoletyper
7a0a2d6437 Adds implementation of some JCL needed for graphhopper 2014-04-03 17:25:22 +04:00
konsoletyper
1c50bb9d0b Adds partial support of NavigableMap into TreeMap 2014-04-02 17:25:11 +04:00
konsoletyper
3dc42b95f5 Adds generalization of TreeMap to further enable the full support of
NavigableMap
2014-04-02 13:47:37 +04:00
konsoletyper
05569f4eef TreeMap passes all tests from Apache Harmony 2014-04-01 16:42:02 +04:00
konsoletyper
161c4c76b7 Rewritten TreeMap passes most of tests 2014-04-01 14:15:01 +04:00
konsoletyper
4be4c4a843 Rewrite TreeMap 2014-03-31 17:39:40 +04:00
konsoletyper
59d60269ee Fixes issues with clone methods. Fixes TreeMapTest 2014-03-31 15:26:41 +04:00
Alexey Andreev
ae60a7b4a0 Refactoring that introduces ability to generate new classes from
dependency interceptors.
2014-03-24 15:40:56 +04:00
Alexey Andreev
00d160e92b First attempt to refactor dependency checker 2014-03-24 13:26:32 +04:00
konsoletyper
6e286ec0f9 Fixes another bug in Windows build 2014-03-22 13:38:19 +04:00
konsoletyper
671bc0efc7 Fixes issue with building on Windows 2014-03-22 13:37:51 +04:00
konsoletyper
8e99b4589e Fixes System.arraycopy behavior when src == dest 2014-03-22 11:32:39 +04:00
konsoletyper
6c599c2886 Fixes some tests on java.util.TreeMap. Fixes tests code style 2014-03-21 22:53:11 +04:00
konsoletyper
56012d1a9f Adds java.util.TreeMap 2014-03-21 17:43:31 +04:00
konsoletyper
6bad1a18eb Completes java.util.BitSet implementation 2014-03-21 17:02:19 +04:00
konsoletyper
757c655344 Fixes BitSet.hashCode 2014-03-21 15:19:45 +04:00
konsoletyper
e43898e573 Most of java.util.BitSet test pass 2014-03-21 15:06:06 +04:00
konsoletyper
ff7f50d911 Adds java.util.BitSet implementation 2014-03-21 01:42:35 +04:00
konsoletyper
5fd2b18eba Adds ArrayDeque 2014-03-20 17:39:52 +04:00
konsoletyper
2968ef9e83 Completes implementation of all java.util.Collections methods that are
possible to implement now
2014-03-20 15:44:13 +04:00
konsoletyper
4fe66c7c6a Implementing methods of java.util.Collections 2014-03-20 14:20:19 +04:00
konsoletyper
b91742fa2d Implements some of java.util.Collection 2014-03-20 12:57:33 +04:00
konsoletyper
02dcf9caa8 Configure pom.xml files to automatically release into Sonatype OSS
repository
2014-03-20 10:59:12 +04:00
konsoletyper
cbdcfa8977 Switches to 0.2-SNAPSHOT version 2014-03-19 01:48:43 +04:00
Alexey Andreev
0ab1639821 Refactor pom files 2014-03-18 18:02:15 +04:00
konsoletyper
e27e2b32bc Repairs Arrays.get 2014-03-17 14:36:20 +04:00
konsoletyper
91a7a9ba22 Adds java.lang.String methods. Makes intern on all string constants. 2014-03-17 00:53:22 +04:00
konsoletyper
e35f9b54b5 Moves JCL report generator into separate package. Adds hack that allows
to obtain JavaCompiler (but yet it won't compile).
2014-03-16 01:54:47 +04:00
konsoletyper
4cc484729f Moves JSO classes into org.teavm.jso. Fixes bug in StringBuilder 2014-03-15 15:10:54 +04:00
Alexey Andreev
45fe202740 Switch to asm4 2014-03-14 22:24:25 +04:00
Alexey Andreev
ba2a3e12e9 All JCL tests pass 2014-03-14 14:46:17 +04:00
Alexey Andreev
739f666c0a Fixes java.io.BufferedReader.skip method. Fixes multiplication of
negative long integers
2014-03-14 13:03:26 +04:00
konsoletyper
c6ff897bdd Fixes some charset-related errors 2014-03-13 17:20:28 +04:00
konsoletyper
3a9be43894 Fixes some UTF-16 relates issues 2014-03-13 11:11:27 +04:00
konsoletyper
2178ac34e5 Fixes unicode character class recognition 2014-03-13 10:50:45 +04:00
konsoletyper
b7f1bb58a6 Fixing bugs in unicode character class encoding/decoding 2014-03-13 00:40:11 +04:00
konsoletyper
44264c7ea8 Fixes some bugs in JCL 2014-03-12 22:35:20 +04:00
konsoletyper
b85dfcd7a0 Fixes bug that caused JUnit not to throw assertions in certain cases. 2014-03-12 21:01:00 +04:00
konsoletyper
ad1d231094 Completes java.lang.Long 2014-03-12 16:57:34 +04:00