Marco Castelluccio
1645998dfe
Store arrays as addresses on the ref array
2015-06-26 15:40:20 -07:00
Myk Melez
38571c133d
test WeakReference
2015-06-25 14:33:06 -07:00
Myk Melez
5e2143ecb5
update WeakReference natives to retain their references
2015-06-25 08:35:12 -07:00
Myk Melez
315f723b70
add header to object layout and reference objects by address
2015-06-18 14:02:09 -07:00
Myk Melez
5110eaf608
Merge from master on branch to figure out issue with merge.
2015-06-05 09:27:13 -07:00
Brendan Dahl
df2ad302ae
More long cleanup.
2015-05-19 17:49:48 -07:00
Michael Bebenita
154b738e59
Yield test and benchmark.
2015-05-17 13:06:54 -07:00
Michael Bebenita
fb20e6b0c6
Some type annotations.
2015-05-16 19:57:37 -07:00
Michael Bebenita
d4e7c612aa
Move some natives to TS.
2015-05-16 18:33:06 -07:00
Michael Bebenita
d008938e55
Started to migrate natives to TS.
2015-05-16 11:08:48 -07:00
Brendan Dahl
698b2a2615
Basic locks and some async working.
2015-05-15 18:58:19 -07:00
Brendan Dahl
90fdf1a83b
Working up to implementing locks.
2015-05-14 18:09:45 -07:00
Brendan Dahl
c80cb03206
Merge branch 'master' of https://github.com/mozilla/j2me.js into intex
...
Conflicts:
Makefile
jsshell.js
references-jsc.ts
references.ts
vm/context.ts
vm/jvm.ts
2015-05-14 17:27:30 -07:00
Brendan Dahl
f7ba6156c6
Merge branch 'strings-squash3' into intex
...
Conflicts:
bindings.ts.in
java/custom/java/lang/String.java
native.js
string.js
vm/classRegistry.ts
vm/runtime.ts
2015-05-14 16:48:57 -07:00
Brendan Dahl
6fc63bf2fc
Use scheduler for async exceptions as well.
2015-05-11 11:22:49 -07:00
Michael Bebenita
aed8df4f0b
More ops, bug fixes, passes TestArithmetic now.
2015-05-10 03:16:41 -07:00
Michael Bebenita
9e75c781d4
A few docs.
2015-05-09 18:32:02 -07:00
Michael Bebenita
1f1cf0d9b2
Self host strings, streams and string builders.
2015-05-09 00:45:07 -07:00
Michael Bebenita
fa3fe83ca3
Primitive bump allocator, more ops.
2015-05-08 21:14:44 -07:00
Michael Bebenita
b7d7f6286a
More long arithmetic.
2015-05-08 00:52:22 -07:00
Michael Bebenita
d17ede085a
Move jvm.ts into context.ts
2015-05-07 23:37:31 -07:00
Brendan Dahl
9cd9ec437c
Enable preemption and use a fair scheduler.
2015-05-07 16:07:40 -07:00
Michael Bebenita
be7e4d5f69
Snapshot, more opcodes.
2015-05-04 19:46:26 -07:00
Brendan Dahl
58b331a931
Merge pull request #1315 from TimAbraldes/refresh
...
Limit refresh rate to that of screen. Update tests
2015-04-06 15:25:49 -07:00
Brendan Dahl
7b1f9b9aa2
Revert to calling clinit directly in interpreter.
2015-04-03 15:56:02 -07:00
Brendan Dahl
54ea2d4ceb
Merge branch 'master' of https://github.com/mozilla/j2me.js into per-thread-timeline
2015-04-03 10:42:08 -07:00
Tim Abraldes
aa0cbe9f3c
Limit refresh rate to that of screen. Update tests
...
This prevents us from attempting to paint multiple times to the screen
when the screen can't actually keep up due to its refresh rate.
Update the asteroids test to use the accepted mechanism for doing 1
calculation per frame.
Add a benchmark test for `Graphics` performance. Current subtests
include `Graphics.drawRegion` and `Graphics.drawString`
Allocate the string "Async" once, outside of the functions it is used
in, and reference that string instead of using the string literal.
2015-04-02 21:13:42 -07:00
Myk Melez
8f1902dce2
Merge pull request #1353 from marco-c/getBlob
...
Don't read FS blob into an ArrayBuffer when not necessary
2015-04-02 17:32:12 -07:00
Myk Melez
e5c64afd00
define console.print later in jsshell.js, so it overrides the one in native.js
2015-04-02 17:21:06 -07:00
Myk Melez
ed5785e6bc
Merge branch 'master' into remove-console
2015-04-02 17:02:29 -07:00
Brendan Dahl
ed5359c922
Show profiles per thread and don't leave() on unwinds.
2015-04-02 11:14:15 -07:00
Yuan Xulei
42641c7c4c
remove localBase, which is constantly 0.
2015-04-02 16:33:39 +08:00
Myk Melez
f99c0fa23d
don't redefine console.print if it's already defined
2015-04-01 15:04:05 -07:00
Myk Melez
7eb92f4065
dedupe console.print/flush
2015-04-01 11:13:27 -07:00
Brendan Dahl
ed9967a3df
Merge branch 'master' of https://github.com/mozilla/j2me.js into strings-squash3
...
Conflicts:
jsshell.js
main.html.in
native.js
string.js
2015-04-01 10:35:54 -07:00
Myk Melez
9447e4a315
Merge branch 'master' into remove-console
2015-04-01 10:32:57 -07:00
Marco Castelluccio
b340a3e7bd
Merge branch 'master' of github.com:mozilla/j2me.js into getBlob
...
Conflicts:
native.js
2015-04-01 12:12:55 +02:00
Marco Castelluccio
c62fde96fe
Use fs.getBlob in Launcher::handleContent
2015-03-30 23:20:42 +02:00
Myk Melez
090bc4bc9c
Merge branch 'master' into remove-console
2015-03-30 08:47:59 -07:00
Pin Zhang
8dab78c130
Revert "Revert "Merge pull request #1224 from PinZhang/pzhang/resize-canvas""
...
This reverts commit 7711c89d00
.
2015-03-30 13:59:05 +08:00
Marco Castelluccio
7711c89d00
Revert "Merge pull request #1224 from PinZhang/pzhang/resize-canvas"
...
This reverts commit 13d066c76e
, reversing
changes made to 721b0b6ad8
.
Conflicts:
midp/gfx.js
midp/midp.js
2015-03-27 12:57:59 +01:00
Brendan Dahl
fe2abbdb47
Use self hosted java strings.
2015-03-25 15:35:27 -07:00
Marco Castelluccio
f02defdf00
Merge branch 'master' of github.com:mozilla/j2me.js into dont_override_Permissions
...
Conflicts:
main.html.in
2015-03-24 22:53:22 +01:00
Myk Melez
3f88602db3
Merge pull request #1303 from marco-c/remove_classes_from_startup_path
...
Remove some code from the startup path
2015-03-24 10:27:33 -07:00
Myk Melez
2d5796363d
Merge pull request #1295 from marco-c/fix_UTF_8_Writer_bug
...
Fix UTF_8_Writer::sizeOf bug
2015-03-23 16:47:47 -07:00
Marco Castelluccio
610a460c9f
Remove override.js
2015-03-23 23:56:38 +01:00
Marco Castelluccio
84970591e6
Remove ByteArrayInputStream overrides
2015-03-23 23:07:58 +01:00
Marco Castelluccio
29fdb84b71
Don't override ByteArrayOutputStream functions
2015-03-23 22:58:37 +01:00
Marco Castelluccio
23bc24b8d1
Merge branch 'master' of github.com:mozilla/j2me.js into remove_classes_from_startup_path
...
Conflicts:
native.js
2015-03-22 03:28:55 +01:00
Marco Castelluccio
f66ce4bc32
Remove Links initialization
2015-03-22 02:53:21 +01:00