Commit Graph

497 Commits

Author SHA1 Message Date
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
Alexey Andreev
999101a608 Exponential support in DecimalFormat 2015-06-07 22:58:04 +03:00
Alexey Andreev
27da14d827 Implementing DecimalFormat 2015-06-07 18:02:38 +03:00
Alexey Andreev
87d8c3406c Fix big long formatting in DecimalFormat. Start developing exponential
format.
2015-06-05 19:24:50 +04:00
Alexey Andreev
c4f6aed639 Fix some cases of formatting numbers 2015-06-04 21:40:26 +03:00
Alexey Andreev
a66faba99c Add tests for rounding behavour 2015-06-04 19:45:28 +04:00
Alexey Andreev
bd285b8df5 Fix printing fractional part via DecimalFormat 2015-06-04 14:38:03 +04:00
Alexey Andreev
0ffec9da6e Add initial formatting via non-exponential pattern 2015-06-03 17:51:29 +04:00
Steve Hannah
83497b1b9e Implemented Thread.join() 2015-06-02 10:38:33 -07:00
Alexey Andreev
abd9c10e2b Fix bugs in decimal format parser 2015-06-01 18:04:18 +04:00
Alexey Andreev
408347e460 Implement decimal pattern parser 2015-06-01 00:21:41 +03:00
Alexey Andreev
1fd4b8ff7a Merge pull request #121 from shannah/add_Observer_and_Observable
Add observer and observable
2015-05-30 18:33:33 +03:00
Alexey Andreev
a0d223cc1b Merge pull request #120 from shannah/fix_stringbuilder_deleteCharAt
Fixed StringBuilder.deleteCharAt
2015-05-30 18:32:44 +03:00
Alexey Andreev
d7065bed8e Merge branch 'currency' 2015-05-30 18:25:12 +03:00
Alexey Andreev
d1739bb196 Add localization support to currencies 2015-05-30 18:24:42 +03:00
Steve Hannah
a2413cc4e5 Added java.util.Observer and java.util.Observable. 2015-05-30 00:43:08 -07:00
Steve Hannah
bbf067d4a5 Fixed StringBuilder.deleteCharAt 2015-05-30 00:37:38 -07:00
Alexey Andreev
04058df517 Add currency support to CLDR parser 2015-05-29 19:23:12 +04:00
Alexey Andreev
1cc1d60f9e Add support of ISO 3166 2015-05-29 18:43:43 +04:00
Alexey Andreev
eb4e74a778 Add ISO 4217 parser 2015-05-28 18:52:40 +04:00
Alexey Andreev
3d95eb1a7e Trying to fix corrupted state stack when calling Class.newInstance.
See https://github.com/konsoletyper/teavm/issues/118
2015-05-26 22:27:33 +03:00
Alexey Andreev
ea26d26aeb Add ISO tables 2015-05-24 20:41:58 +03:00
Alexey Andreev
e150e2e44f Add support of ISO 8601 timezone format 2015-05-24 16:47:24 +03:00
Alexey Andreev
c8743c6d1f Add support of RFC 822 timezone format 2015-05-23 12:09:15 +03:00
Alexey Andreev
e7a88d087c Add emitter. Refactor metadata generator. Fix bugs in timezone
formatting and parsing
2015-05-22 18:18:53 +04:00
Alexey Andreev
bfd97bcae7 Further work on SimpleTimeZone 2015-05-20 18:38:50 +04:00
Alexey Andreev
71bfaa9d66 Adding support of timezones in SimpleDateFormat 2015-05-19 22:15:57 +03:00
Alexey Andreev
76cf035660 Fix tests 2015-05-19 20:45:43 +03:00
Alexey Andreev
19feb42f43 Merge branch 'shannah-add_timezone' into timezones
Conflicts:
	teavm-classlib/src/main/java/org/teavm/classlib/java/util/TCalendar.java
	teavm-classlib/src/main/java/org/teavm/classlib/java/util/TGregorianCalendar.java
	teavm-classlib/src/main/java/org/teavm/classlib/java/util/TTimeZone.java
	teavm-tests/src/test/java/org/teavm/classlib/java/util/TimeZoneTest.java
2015-05-19 20:01:33 +03:00
Alexey Andreev
d11f59cd4d Merge branch 'add_timezone' of https://github.com/shannah/teavm into shannah-add_timezone 2015-05-19 19:43:15 +03:00
Alexey Andreev
912c72c490 Add time zones to calendar 2015-05-19 19:05:31 +04:00
Alexey Andreev
a869ebb609 Add build-time time zone cache 2015-05-19 18:41:42 +04:00
Alexey Andreev
33c32bc035 Speed up timezone detection 2015-05-18 21:10:08 +03:00
Alexey Andreev
b9ed20ddb0 Merge remote-tracking branch 'origin/master' into timezones 2015-05-18 20:57:19 +03:00
Alexey Andreev
7a2c2606aa Add localization for time zones 2015-05-18 19:53:45 +04:00
Alexey Andreev
55212cbfe6 Implement Java time zone 2015-05-17 14:05:19 +03:00
Alexey Andreev
c154a55ed5 Merge branch 'master' into timezones 2015-05-17 11:46:40 +03:00
Alexey Andreev
7d49a2bd99 Additional guard against fixed time zones 2015-05-16 21:26:22 +03:00
Alexey Andreev
46da627318 First version of time zone detector 2015-05-16 20:50:16 +03:00
Alexey Andreev
05c74a2d8a Add support of embedded time zone decoding 2015-05-16 16:50:00 +03:00
Alexey Andreev
a6287b6cfd Fix some bugs in timezones 2015-05-14 22:32:41 +03:00
Steve Hannah
279fa86a3c Fixed nullpointer when creating iterator on TreeMap where root node is null. 2015-05-14 09:53:32 -07:00
Alexey Andreev
e8df0a86de Fix issue with TreeMap size after deletions 2015-05-14 19:19:21 +03:00
Steve Hannah
02fcef0ae7 Fixed issue with size not being updated in TreeMap upon removal of some nodes. 2015-05-14 09:09:09 -07:00
Alexey Andreev
dadc693c9f Very first version of TeaVM time zone compiler 2015-05-14 18:38:30 +04:00
Alexey Andreev
639633018e Probably fix https://github.com/konsoletyper/teavm/issues/112 2015-05-14 18:11:47 +04:00
Alexey Andreev
f07a8aec8f Merge remote-tracking branch 'origin/master' 2015-05-14 13:53:58 +04:00
Alexey Andreev
0a335daed2 See https://github.com/konsoletyper/teavm/pull/113 2015-05-14 13:53:24 +04:00
Alexey Andreev
13fbf7c544 Borrow some code from Joda Time to parse tz data and expose offsets. Add
tz data archive
2015-05-13 22:57:00 +03:00
Alexey Andreev
120207532e Merge pull request #111 from shannah/issue_110
Issue 110
2015-05-13 11:06:35 +03:00
Steve Hannah
7eb710a806 Fixed ArrayOutOfBounds on binarySearch of empty list. https://github.com/konsoletyper/teavm/issues/110 2015-05-12 16:58:46 -07:00
Alexey Andreev
b264e34ef8 Start to implement time zones 2015-05-12 21:40:57 +03:00
Alexey Andreev
7277696870 Fix https://github.com/konsoletyper/teavm/issues/108 Fix incorrect
rounding of negative numbers
2015-05-12 19:27:11 +03:00
Steve Hannah
047170947d Fixed GregorianCalendar constructor with TimeZone arg to initialize the time correctly. 2015-05-04 12:49:04 -07:00
Steve Hannah
cc8a5a6514 Merge branch 'master' into add_timezone 2015-05-04 12:31:42 -07:00
Alexey Andreev
7c91604311 Add StackTraceElement stub to run Kotlin 2015-05-04 11:42:07 +03:00
Alexey Andreev
26379afc50 Fix bug in bytecode parser. Fix
https://github.com/konsoletyper/teavm/issues/104 Fix
https://github.com/konsoletyper/teavm/issues/105
2015-05-01 15:19:35 +03:00
Alexey Andreev
934909260f Merge remote-tracking branch 'origin/master' 2015-05-01 10:50:17 +03:00
Alexey Andreev
7b029d024c Upgrade to ASM5 API 2015-05-01 10:49:51 +03:00
Steve Hannah
ff9324570c Fixed issue https://github.com/konsoletyper/teavm/issues/100 2015-04-28 10:38:01 -07:00
Steve Hannah
9a6db79c41 Updated copyright 2015-04-11 11:03:40 -07:00
Steve Hannah
d38c421cbc Removed extra spaces and updated Copyright 2015-04-11 11:01:54 -07:00
Steve Hannah
604d757dfd Fixed styles to match conventions. 2015-04-11 08:55:33 -07:00
Steve Hannah
aff343bbe5 Fixed accidental deletion of return statement. 2015-04-11 08:53:49 -07:00
Steve Hannah
7a5b76f3dc Fixed issue with Date years. Formatted files to match TeaVM conventions. TimeZone tests now pass in browser. CalendarTests still failing. 2015-04-10 16:49:38 -07:00
Steve Hannah
2bc1a99d53 Added tests for timezone and calendar from Apache Harmony. 2015-04-09 16:54:08 -07:00
Steve Hannah
c9819f3a86 Added timezone support. Only LOCAL and GMT are currently supported, but you can extend the native functions in runtime to add support for other timezones. 2015-04-09 13:05:24 -07:00
Steve Hannah
c148965a35 Added timezone classes. 2015-04-09 09:36:40 -07:00
Alexey Andreev
33e9fca099 Bugfixes 2015-04-05 18:43:56 +03:00
Alexey Andreev
712dfced8b Make Arrays.hashCode compatible with JVM 2015-03-30 22:31:30 +03:00
Steve Hannah
bf1f83da6c Another fix for Collections.shuffle(). Without this fix, shuffle doesn't actually do anything on non-random-access collections. 2015-03-26 11:37:01 -07:00
Steve Hannah
7d6d777906 Fix for issue 88. Collections.shuffle bug. 2015-03-26 09:16:59 -07:00
konsoletyper
f5d09be35e Replace old charset with NIO charset 2015-03-22 19:40:10 +03:00
konsoletyper
aa2451c3e3 Replacing old TeaVM-based charsets with NIO charsets 2015-03-22 18:15:48 +03:00
konsoletyper
cc5225a2a6 UTF-8 support test passes 2015-03-22 15:57:49 +03:00
konsoletyper
0be769f74d Further implementation of nio charsets 2015-03-21 22:46:16 +03:00
Alexey Andreev
59b2d0b21e Initial charset classes 2015-03-18 19:21:16 +04:00
konsoletyper
e7db80fe2b Fix slf4j support. Add PrintStream.println(double) 2015-03-16 21:55:37 +03:00
konsoletyper
17ccec57e9 Add missing javadoc tags 2015-03-15 18:22:39 +03:00
Alexey Andreev
aad95014fe Fix error in Object.wait. Make junit working with new async approach 2015-03-12 11:44:17 +04:00
konsoletyper
2ef8f9c0e8 Merge branch 'master' into better-async 2015-03-11 20:39:51 +03:00
Alexey Andreev
b19c545318 Fix issue 2015-03-11 19:49:31 +04:00
Alexey Andreev
7e23498c5b Fix bugs 2015-03-11 19:02:32 +04:00
konsoletyper
8fe3876641 First working prototype of new async 2015-03-10 22:09:43 +03:00
konsoletyper
5c189cfe15 Fix bug in InputStream.read implementation 2015-03-10 20:39:28 +03:00
Alexey Andreev
56c5fefae4 Further development 2015-03-10 19:33:34 +04:00
Alexey Andreev
32deaf2716 Further work on a new thread emulator 2015-03-10 15:19:54 +04:00
Alexey Andreev
93e43456d1 Outline of upcoming improvements of continuations 2015-03-10 12:49:00 +04:00
konsoletyper
fe2adc4675 Speed-up TeaVM compiler on large applications 2015-03-09 16:22:19 +03:00
konsoletyper
62118e2cfe Add frequency-based naming in minified mode 2015-03-09 13:28:37 +03:00
konsoletyper
61368d0c10 Add own declaration of DataOutput interface 2015-03-08 20:11:03 +03:00
konsoletyper
3a78db74c1 Fix bugs 2015-03-08 13:09:17 +03:00
konsoletyper
7869173ac2 Remove build errors on JDK8 2015-03-08 12:18:57 +03:00
Alexey Andreev
d2e20d7c9f Add OutOfMemoryError. When catching exceptions that are not defined,
report errors at compile time.
2015-03-06 14:01:02 +04:00
Alexey Andreev
bacd02d8a7 Add some JDK classes needed to support DukeScript 2015-03-01 11:25:42 +03:00