Brendan Dahl
90708550be
Fix various klass issues to get test framework running.
2014-11-27 11:15:28 -08:00
Brendan Dahl
c6ea0a6287
Fix get class info.
2014-11-26 18:40:02 -08:00
Brendan Dahl
d49c18ff56
Array fixes.
2014-11-26 18:35:12 -08:00
Michael Bebenita
f5f95ae10c
Lots and lots of changes.
2014-11-26 01:21:11 -08:00
Brendan Dahl
5668f5b989
Fix more klass fallout.
2014-11-25 18:13:29 -08:00
Michael Bebenita
d216ded20e
Update some natives to the new mangling scheme.
2014-11-25 17:46:41 -08:00
Brendan Dahl
ef458d5b66
Remove yields from class and object initialization.
2014-11-21 12:56:45 -08:00
Marco Castelluccio
260f24e59a
Add mmapi-configuration property
2014-11-14 22:58:48 +01:00
Marco Castelluccio
a7792ee685
Add microedition.amms.version property
2014-11-14 22:57:46 +01:00
Marco Castelluccio
b8e6ca3953
Nativize DataInputStream::readUTF. Fixes #368
2014-11-13 22:25:29 +01:00
Marco Castelluccio
4110cb8d1b
Don't read the whole stream in memory when a UTF_8_Reader is opened, but on the first call to UTF_8_Reader::read
2014-11-10 23:14:12 +01:00
Marco Castelluccio
d3dafd5ff8
Add microedition.pim.version property and a few more tests
2014-11-08 18:21:31 +01:00
Eric Rahm
c64a188b39
Improve perf of createAlternanteImpl
...
- Creates return-type specific return functions that are determined at
creation time.
- Splits off promise handling to it's own function. Overrides that use promises
must indicate so when creating the override with the usesPromise param.
- Updates overrides that use promises
2014-11-03 17:47:51 -08:00
Marco Castelluccio
93f6ba1e8a
Add directory name to fileconn.dir.photos property
2014-11-02 19:48:29 +01:00
Marco Castelluccio
60f325938f
Add fileconn.dir.photos property
2014-10-31 11:31:02 +01:00
Marco Castelluccio
7179c80abb
Add stub com.nokia.mid.imei property
2014-10-28 23:56:22 +01:00
Marco Castelluccio
f3b184b3e4
Move newArray and its relatives from Context and Runtime to util
2014-10-27 13:13:54 +01:00
Marco Castelluccio
820f2ef5da
Pass ctx as last optional parameter. Fixes #485 .
2014-10-27 12:37:53 +01:00
Pin Zhang
da6d616b6a
Custom property microedition.platform in url.
2014-10-22 16:39:10 +08:00
Marco Castelluccio
63d101a641
Replace fcfile with file in fileconn properties. Fixes #475 .
2014-10-21 20:07:57 +02:00
Marco Castelluccio
5270a577a8
Port other natives to Native.create
2014-10-16 20:08:51 -07:00
Marco Castelluccio
338f62bdaa
Remove opts parameter from Override.create/Native.create and use the MethodInfo's isStatic property. Fixes #443 .
2014-10-14 16:38:16 -07:00
Marco Castelluccio
118a04612d
Merge branch 'master' of https://github.com/andreasgal/j2me.js into introduce_native_create
...
Conflicts:
native.js
2014-10-14 15:45:32 -07:00
Marco Castelluccio
426b161170
Convert other natives to Native.create
2014-10-14 13:18:50 -07:00
Myk Melez
ea0d668ee5
restart thread immediately on Context.start
2014-10-14 11:34:02 -07:00
Marco Castelluccio
571ba4ec5b
Implement a helper similar to Override.create for natives; port some natives to use Native.create. Fixes #378 .
2014-10-14 11:25:31 -07:00
Marco Castelluccio
2f7c2ad70f
Add needed info to synthetic methods to calculate the consumes property
2014-10-10 01:30:30 -07:00
Marcus Cavanaugh
527e65a695
Make synthetic methods use the MethodInfo constructor.
2014-10-09 16:31:00 -07:00
Marco
29e57f37dd
Merge pull request #414 from mcav/alternate-2
...
Move alternateImpl detection into MethodInfo constructor.
2014-10-09 13:56:15 -07:00
Marco Castelluccio
218d49e0e9
Add missing stack.pop() in Isolate.setPriority0
2014-10-09 10:52:42 -07:00
Marcus Cavanaugh
0a6b67fd1c
Move alternateImpl detection into MethodInfo constructor.
2014-10-08 14:05:34 -07:00
Myk Melez
2be0a5b730
Revert "Move alternateImpl detection into MethodInfo constructor."
2014-10-08 12:20:48 -07:00
Marcus Cavanaugh
81e80969b6
Move alternateImpl detection into MethodInfo constructor.
2014-10-07 11:14:05 -07:00
Marco Castelluccio
f695a7a024
Create synthetic methods with Uint8Array bytecode to avoid bailouts in frame.js
2014-10-02 12:26:23 -07:00
Myk Melez
5e02bc0553
Merge pull request #376 from marco-c/seal_Frame
...
Always create Frame objects with the same set of properties
2014-10-01 17:53:31 -07:00
Marco
362983df71
Merge pull request #367 from mcav/stringbuffer
...
Port StringBuffer to JS.
2014-10-01 11:43:26 -07:00
Marco Castelluccio
e42b3e8c46
Remove stopFrame
2014-09-30 19:18:26 -07:00
Marco Castelluccio
e1390b706c
Merge branch 'master' of https://github.com/andreasgal/j2me.js into seal_Frame
2014-09-30 17:46:46 -07:00
Marco Castelluccio
1146835d77
Don't create a fake caller frame for synthetic methods
2014-09-30 17:23:24 -07:00
Marco Castelluccio
50aef85f82
Don't use syntheticKey in Instrument.getKey. Fixes #371 .
2014-09-30 15:16:38 -07:00
Marcus Cavanaugh
9b5373a0ec
Port StringBuffer to JS.
2014-09-30 11:15:29 -07:00
Marcus Cavanaugh
fe323649c6
Reimplement java.lang.String with JS Strings.
2014-09-29 09:43:31 -07:00
Marco Castelluccio
25121d31e2
Update method to access fields
2014-09-26 21:43:13 -07:00
Marco Castelluccio
e4c8335bf4
Place spaces around <=
2014-09-26 21:42:37 -07:00
Marco Castelluccio
fc02394056
Merge branch 'master' of https://github.com/andreasgal/j2me.js into optimize_UTF_8_Writer
2014-09-26 21:41:04 -07:00
Marco Castelluccio
a73e4ed546
Merge branch 'master' of https://github.com/andreasgal/j2me.js into pass_key_to_getfield
...
Conflicts:
classes.js
2014-09-26 21:19:58 -07:00
Marco Castelluccio
e148d53811
Implement UTF_8_Writer::sizeOf in JS
2014-09-26 13:29:15 -07:00
Marco Castelluccio
901448bb2a
Implement UTF_8_Writer::write in JS and make it convert the whole array and send it all at once to the output stream. Fixes #314 .
2014-09-26 13:24:59 -07:00
Marco Castelluccio
01d6985889
Use 'S' for static, 'I' for non-static
2014-09-26 11:48:06 -07:00
Marco Castelluccio
b71ee629f6
Fix all getField callers
2014-09-25 21:04:20 -07:00