Marco Castelluccio
339438375a
Remove util::stringToCharArray. Fixes #1755
2015-07-23 00:51:04 +02:00
Myk Melez
3a5ec8216f
Merge branch 'master' into intex
2015-07-14 10:42:37 -07:00
Tim Abraldes
7d059e2b40
Implement jsshell nextTickDuringEvents
2015-07-06 12:53:54 -07:00
Tim Abraldes
d9e38a6fd7
Impl nextTickDuringEvents, rename setZeroTimeout
...
Implement `window.nextTickDuringEvents`. This function implements a zero
timeout using `window.postMessage`, so the callbacks will be called
serially along with events during event loop processing.
Renamed `window.setZeroTimeout` to `window.nextTickBeforeEvents`. The
callbacks registered with this function are called before event
processing happens during the event loop.
The rename is because we now have two functions that accomplish a zero
timeout. They should have similar but unique/descriptive names.
2015-07-06 12:21:18 -07:00
Marco Castelluccio
e703b90337
Merge branch 'master' of github.com:mozilla/j2me.js into intex
2015-06-04 19:20:03 +02:00
Myk Melez
020a0778d7
Revert "Remove use of long.js library."
2015-06-02 09:58:39 -07:00
Brendan Dahl
a7bc63c4a8
Remove use of long.js library.
2015-06-01 11:38:31 -06:00
Marco Castelluccio
da1b668354
Move libs/native.js to bld/native.js
2015-06-01 13:20:49 +02:00
Myk Melez
371d037941
Merge branch 'master' into mbebenita-intex-merge-from-master
2015-05-27 13:16:35 -07:00
Marco Castelluccio
ba5b5ce21c
Mock DumbPipe in jsshell.js
2015-05-26 00:45:22 +02:00
Marco Castelluccio
fb6cb6a2d0
Move content natives to a new content.js file
2015-05-22 15:41:40 +02:00
Michael Bebenita
27d045025d
Add make target to help with submitting bug reports.
2015-05-21 15:22:52 -07:00
Michael Bebenita
ad3cc8a98f
Save thread state before throwing classCastException, and update passing tests.
2015-05-18 23:17:39 -07:00
Michael Bebenita
5c87e5e8e2
Update list of passing tests.
2015-05-18 23:11:56 -07:00
Michael Bebenita
a43c2dbb6e
Disable hashing because it is too slow.
2015-05-17 22:03:47 -07:00
Michael Bebenita
e65cd81655
Reenable checkReturnValue in debug builds.
2015-05-17 11:35:37 -07:00
Michael Bebenita
d5a7ed39cb
Use real time.
2015-05-16 18:05:08 -07:00
Michael Bebenita
ff9c561342
Polyfill promises in the JS shell.
2015-05-16 17:19:09 -07:00
Michael Bebenita
e2dd057273
Merge.
2015-05-14 17:49:29 -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
4675e8e8f5
Polyfill setTimeout in jsshell.
2015-05-11 15:40:35 -07:00
Michael Bebenita
46235dacef
Pretty printing.
2015-05-10 16:00:43 -07:00
Michael Bebenita
b06ceb7d13
Don't use DataViews because they are slow.
2015-05-09 16:22:53 -07:00
Michael Bebenita
de33205b8c
Add options to jsshell.
2015-05-09 13:37:04 -07:00
Michael Bebenita
a1679f8d02
Expand view names.
2015-05-07 17:31:22 -07:00
Michael Bebenita
80991c4ee8
Snapshott.
2015-05-07 15:17:05 -07:00
Marco Castelluccio
9b2a5476e6
Self-host GestureInteractiveZone. Fixes #1471
2015-05-03 15:05:23 +02:00
Michael Bebenita
49d4059021
Beginnings of a asm.jsified interpreter. The first goal is to optimize our thread stack data structures to make interpretation and unwinding faster.
2015-04-30 09:51:47 -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
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
5f7a17860f
revert breaking changes to jsshell
2015-03-30 10:22:00 -07:00
Myk Melez
090bc4bc9c
Merge branch 'master' into remove-console
2015-03-30 08:47:59 -07: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
7041c7b2ce
rename build/ directory to bld/
2015-03-23 16:22:54 -07:00
Marco Castelluccio
610a460c9f
Remove override.js
2015-03-23 23:56:38 +01:00
Marco Castelluccio
6d2c0cf2ae
Remove override test
2015-03-23 23:11:33 +01:00
Myk Melez
547b5a51df
fix console.info/error in jsshell
2015-03-18 14:58:01 -07:00
Michael Bebenita
b713056056
Clean up jsshell.
2015-03-14 13:55:58 -07:00
Marco Castelluccio
b1ded90754
Remove now unused vm/tags.js file
2015-03-05 20:20:01 +01:00
Michael Bebenita
8b0cc5e989
Undo changes in jsshell.js
2015-03-05 09:53:55 -08:00
Brendan Dahl
8926137e1a
FIx jsc.
2015-03-04 15:10:37 -08:00
Brendan Dahl
f39caf2763
Merge branch 'master' of https://github.com/mozilla/j2me.js into parse
...
Conflicts:
bindings.ts
jsshell.js
vm/classRegistry.ts
2015-03-03 17:51:58 -08:00
Michael Bebenita
fe77b7a710
Make class structs derive from ByteStream.
2015-02-28 01:40:31 -08:00
Michael Bebenita
d61ee78b38
Snapshot.
2015-02-27 17:37:08 -08:00
Myk Melez
eaeca08528
Merge branch 'master' into revert-996
...
Conflicts:
jsshell.js
2015-02-27 16:53:34 -08:00
Marco Castelluccio
302fa7585d
Add a comment explaining why we're defining objects like window, Promise, etc. in jsshell.js and jsc.ts
2015-02-27 18:44:46 +01:00
Myk Melez
6f79ebf955
load string.js after dependencies override.js and native.js
2015-02-26 11:47:11 -08:00
Myk Melez
c2aa16fd56
Revert "Merge branch 'self_hosting'"
...
This reverts commit 00e1b7f6de
, reversing
changes made to c3612ddc80
.
Conflicts:
jit/baseline.ts
jsshell.js
midp/fs.js
native.js
vm/classRegistry.ts
2015-02-26 11:23:44 -08:00