Commit Graph

1202 Commits

Author SHA1 Message Date
Alexey Andreev
d718177fe0 Improve resource loading contributed by Jaroslav:
* Implement base64 decoder instead of atob, which is not supported 
  by IE9
* Avoid direct usage of window identifier to prevent global namespace
  from spoiling
* Make customizable approach to supply list of resources to write
  into JavaScript
2015-12-26 13:26:34 +03:00
Alexey Andreev
de7f0910e9 Merge branch 'jtulach_resources' into release-0.4.x 2015-12-25 22:52:27 +03:00
Alexey Andreev
ba3de15e60 Move bck2brwsr.html to a new location 2015-12-25 22:52:10 +03:00
Alexey Andreev
33d61412fb Reduce amount of generated JSO aliases 2015-12-25 22:39:25 +03:00
Alexey Andreev
03538071c4 Prevent JSBody from inlining if its argumet get used more than once 2015-12-25 21:48:32 +03:00
Alexey Andreev
0369d100c6 Make JSBody report about wrong parameter/returning type/instance type to
avoid confusion like this:
https://github.com/konsoletyper/teavm/issues/164
2015-12-25 19:04:54 +03:00
Alexey Andreev
5ae384538d Fix https://github.com/konsoletyper/teavm/issues/167 2015-12-25 18:30:05 +03:00
Alexey Andreev
697bc5ec6c Developing set-version script 2015-12-24 22:10:02 +03:00
Alexey Andreev
4c4d236653 Switch all versions to 1.0.0-SNAPSHOT. Prototyping version switch script 2015-12-24 21:26:29 +03:00
Jaroslav Tulach
de117b61ed Converts the resource from base64 encoding before returning it 2015-12-24 07:59:41 +01:00
Jaroslav Tulach
ecfdcd34c3 Class.getResourceAsStream can find the generated resource 2015-12-24 07:53:36 +01:00
Jaroslav Tulach
d9ee68315e Can include resources in the generated file 2015-12-24 07:33:52 +01:00
Jaroslav Tulach
4aec89967b Simple test to show expected behavior of resources 2015-12-24 06:47:43 +01:00
Jaroslav Tulach
1889560c78 Merge branch 'master' of https://github.com/konsoletyper/teavm 2015-12-24 06:05:04 +01:00
Alexey Andreev
b61849ce80 Fix metaprogramming bugs 2015-12-10 23:05:17 +03:00
Alexey Andreev
7b33bb643e Raise version to 0.4.1 2015-11-30 20:27:01 +03:00
Alexey Andreev
516f211d47 Fix JSString.isInstance 2015-11-30 20:01:08 +03:00
Alexey Andreev
ba54f82dc0 Fix parsing InvokeDynamic method handle 2015-11-29 10:45:29 +03:00
Alexey Andreev
7fd414c84e Minor bugfixes 2015-11-08 23:52:40 +03:00
Alexey Andreev
6d45f57a39 Add methods to submit class file directly as byte array 2015-10-29 16:13:47 +03:00
Alexey Andreev
c7d640a2af Raise Eclipse plugin versions to 0.4.1.qualifier 2015-10-28 00:09:42 +03:00
Alexey Andreev
e4a83b7d79 Raise version to 0.4.1-SNAPSHOT 2015-10-25 19:27:30 +03:00
Alexey Andreev
b12404ee7e Fix emit API. Fix several JS wrappers. 2015-10-25 19:22:48 +03:00
Alexey Andreev
2c47c2167c Update README.md 2015-10-23 16:42:45 +03:00
Alexey Andreev
ef71b871d5 Update README.md 2015-10-23 08:50:01 +03:00
Alexey Andreev
f25b2d46e8 Change version to 0.4.0 2015-10-22 08:25:53 +03:00
Alexey Andreev
f8452e695d Maven plugin adds source files from project source directory 2015-10-21 22:03:54 +03:00
Alexey Andreev
fb3412b4c0 Fix generation of JS aliases for Java objects 2015-10-21 21:56:08 +03:00
Alexey Andreev
3f7b142d6e Fix Client.java file in maven archetype 2015-10-21 21:47:26 +03:00
Alexey Andreev
f3a4d3737b Allow to submit method during dependency check 2015-10-21 21:35:22 +03:00
Alexey Andreev
db364f2adc Fix bug in Scala calculator 2015-10-21 21:09:44 +03:00
Alexey Andreev
8702f7ee33 Repair incremental builder 2015-10-21 20:51:43 +03:00
Alexey Andreev
edf2a47f27 Merge pull request #159 from leobm/master
Fix bug in Window. Add return statement to JSBody script for
2015-10-21 19:57:52 +03:00
Alexey Andreev
804b51abf5 Fix bug in method submit API 2015-10-21 18:45:37 +03:00
jfwittmann
41deea7478 Merge branch 'master' of github.com:leobm/teavm 2015-10-21 15:40:43 +02:00
jfwittmann
8d409b9a2b Fix bug in Window. Add return statement to JSBody script for
prompt(message,defaultValue)
2015-10-21 15:38:41 +02:00
Alexey Andreev
ce83560279 Fix failed tests 2015-10-21 16:35:33 +03:00
jfwittmann
f39bfdf028 Merge remote-tracking branch 'upstream/master' 2015-10-21 15:28:19 +02:00
Alexey Andreev
0340bb9c73 A new API to generate additional methods after dependency checking 2015-10-21 16:03:06 +03:00
jfwittmann
8788830f6e Fix bug in Window. Add return statement to JSBody script for
prompt(message,defaultValue)
2015-10-21 14:45:10 +02:00
Alexey Andreev
2640234391 Rename achieved -> reached. Fix - operator generation in minified mode 2015-10-21 12:08:30 +03:00
Alexey Andreev
bb16e891b9 Skip html4j tests since it seems that Knockout and Selenium interfere 2015-10-21 11:12:03 +03:00
Alexey Andreev
e08ed087df Reduce number of tests by single Selenium connection from 100 to 20.
Send quit command to Selenium.
2015-10-20 23:12:13 +03:00
Alexey Andreev
891ec3e6fd Improve async code example. Don't generate JSO aliases for static
methods
2015-10-20 23:05:55 +03:00
Alexey Andreev
9e5309a986 Run html4j tests via selenium 2015-10-20 22:27:59 +03:00
Alexey Andreev
385b696de9 Add mocks for WebSockets in html4j 2015-10-20 22:21:06 +03:00
Alexey Andreev
a311f291aa Fix bug in html4j test mock. Upgrade to html4j version 1.2.3 2015-10-20 18:37:23 +03:00
Alexey Andreev
64e39be307 Trying to fix JSONP calls in Html4j tests 2015-10-20 18:20:32 +03:00
Alexey Andreev
a96ee8a647 Fix bug in synchronous monitor unlocking 2015-10-19 17:42:35 +03:00
Alexey Andreev
84be461a69 Fix async test building. Fix Window.prompt. Fix non-integer JS number to
Java primitive conversion
2015-10-19 16:49:27 +03:00