Marco Castelluccio
fdfa683eea
Add parameter to VM.compile to generate some debugging statements in the compiled functions
2014-10-31 01:43:56 +01:00
Marco Castelluccio
62ac460623
Warn if a function can't be compiled
2014-10-31 01:27:39 +01:00
Marco Castelluccio
435ac7cf5c
Fix wording for not supported constant type error
2014-10-31 01:21:39 +01:00
Marco Castelluccio
d127c9770f
Fix indentation
2014-10-31 01:20:50 +01:00
Marco Castelluccio
318f8bd0c9
Merge branch 'master' of https://github.com/andreasgal/j2me.js into jitjit
...
Conflicts:
vm.js
2014-10-31 01:19:02 +01:00
Marco
dba99d7479
Merge pull request #515 from mykmelez/profile-without-instrumenting
...
profile if profiling enabled even if instrumentation disabled
2014-10-31 00:24:54 +01:00
Marco
09b5223c45
Merge pull request #514 from mykmelez/ignore-native-without-profile-data
...
ignore native without profile data when exiting async native
2014-10-31 00:24:33 +01:00
Myk Melez
5ed6714d38
profile if profiling enabled even if instrumentation disabled
2014-10-30 16:07:29 -07:00
Myk Melez
89877ff7bb
ignore native without profile data when exiting async native
2014-10-30 15:15:03 -07:00
Myk Melez
c902895d01
Merge pull request #511 from TimAbraldes/updated-readme
...
Update README.md with info on building and testing
2014-10-30 10:14:50 -07:00
Tim Abraldes
62b48c7bac
RunTests1 -> RunTests
2014-10-30 09:51:47 -07:00
Tim Abraldes
d552ee18c1
Addressing review comments and updating formatting
2014-10-30 09:49:06 -07:00
Myk Melez
01013ddc90
Merge pull request #501 from PinZhang/pzhang/runtime-exception-in-thread
...
VM stops if RuntimeException is not handled in a thread.
2014-10-30 08:56:26 -07:00
Pin Zhang
0c3cf74a2e
VM stops if RuntimeException is not handled in a thread.
...
An error is thrown in context.js:
TypeError: caller is undefined
2014-10-30 09:31:31 +08:00
Tim Abraldes
595d9bfbed
Removing spurious backticks
2014-10-29 18:24:33 -07:00
Tim Abraldes
d592dc2465
Merge branch 'master' of https://github.com/TimAbraldes/j2me.js into updated-readme
...
Conflicts:
README.md
2014-10-29 18:23:08 -07:00
Tim Abraldes
7642c82a0b
Updating README.md with quickstart info.
2014-10-29 18:09:18 -07:00
Marco Castelluccio
df1e0db975
Merge branch 'master' of https://github.com/andreasgal/j2me.js into jitjit
2014-10-29 22:32:13 +01:00
Myk Melez
876c4512d6
Merge pull request #506 from marco-c/add_documentation_for_jsshell
...
Document how to run j2me.js in the SpiderMonkey shell
2014-10-29 10:28:07 -07:00
Myk Melez
cd60fa6b92
Merge pull request #500 from marco-c/jpp
...
Replace manually preprocessed files with unpreprocessed ones
2014-10-29 09:28:28 -07:00
Marco
ac73d1c7d4
Merge pull request #505 from mykmelez/text-editor-focus
...
preserve focus/visibility state of text editor (fixes #318 )
2014-10-29 11:59:09 +01:00
Myk Melez
aaa94a950e
explain why we attach/detach native impl. in setParent
2014-10-28 17:26:49 -07:00
Myk Melez
68d31d501e
Merge pull request #508 from marco-c/add_stub_imei_property
...
Add stub com.nokia.mid.imei property
2014-10-28 16:25:30 -07:00
Myk Melez
18577a1cd7
Merge pull request #507 from marco-c/add_missing_parameter
...
Add missing ctx parameter in EventQueue.sendShutdownEvent
2014-10-28 16:22:26 -07:00
Marco
31cf598c9b
Merge pull request #504 from EricRahm/java_utf8_decode
...
Improve Java UTF-8 decoding
2014-10-29 00:09:25 +01:00
Marco Castelluccio
7179c80abb
Add stub com.nokia.mid.imei property
2014-10-28 23:56:22 +01:00
Marco Castelluccio
f6ff81b02b
Add missing ctx parameter in EventQueue.sendShutdownEvent
2014-10-28 23:40:12 +01:00
Marco Castelluccio
570a4e783f
Merge branch 'master' of https://github.com/andreasgal/j2me.js into jitjit
...
Conflicts:
vm.js
2014-10-28 23:25:03 +01:00
Marco Castelluccio
d9677f9a9c
Use H4 for the js shell paragraph
2014-10-28 23:02:31 +01:00
Marco Castelluccio
19861fb044
Emphasize js shell command
2014-10-28 23:01:32 +01:00
Marco Castelluccio
f34059bbb5
Fix list indentation
2014-10-28 22:58:21 +01:00
Marco Castelluccio
8abb796b3d
Document how to run j2me.js in the SpiderMonkey shell
2014-10-28 22:56:47 +01:00
Myk Melez
1d1155fac2
preserve focus/visibility state
2014-10-28 14:14:27 -07:00
Eric Rahm
6c583cd690
Attempt to use TextDecoder for parsing mod-UTF-8
...
When reading a string we'll now attempt to use a TextDecoder first. This is
~10X faster than manually parsing. The only time we should need to fallback to
manually decoding is if an embedded nul character is encountered, which is a
very rare occurance.
2014-10-28 13:18:20 -07:00
Eric Rahm
525a6ffcc2
Add a fallible UTF-8 decoder to util
...
This adds a UTF-8 decoder that takes an ArrayBufferView and throws an exception
on error. |util.decodeUtf8| is left as-is as it supports just passing in an
ArrayBuffer and will sanitize the output string rather than throwing an
exception. Profiling found that passing in a Uint8Array, then wrapping it in
another Uint8Array lead to an about 40% slowdown, so I've made
|util.decodeUtf8Array| explicitly take an ArrayBufferView which avoids this
pitfall.
2014-10-28 13:09:30 -07:00
Marco Castelluccio
be553c634b
Clean processed java files after a build
2014-10-28 12:42:14 +01:00
Marco Castelluccio
9b4c8d614f
Merge branch 'master' of https://github.com/andreasgal/j2me.js into jpp
2014-10-28 12:39:36 +01:00
Myk Melez
60e8494c76
Merge pull request #498 from marco-c/move_helpers_in_util
...
Move newArray and its relatives to util
2014-10-28 00:36:56 -07:00
Myk Melez
387c4873ab
Merge pull request #497 from marco-c/remove_ctx
...
Pass ctx as last optional parameter in natives
2014-10-28 00:24:22 -07:00
Marco Castelluccio
11cb11c58d
Allow preprocessing multiple jpp files
2014-10-27 23:55:07 +01:00
Marco Castelluccio
8300ea95e0
Add needed definitions
2014-10-27 23:54:04 +01:00
Marco Castelluccio
9b780a978a
Replace preprocessed files with unpreprocessed ones. Fixes #496 .
2014-10-27 23:52:32 +01:00
Marco
7105308eca
Merge pull request #499 from mykmelez/disable-gamepad
...
disable gamepad by default
2014-10-27 23:00:52 +01:00
Myk Melez
10b83a947b
use 'in' operator for to clarify conditional
2014-10-27 14:39:55 -07:00
Myk Melez
3a0c9e8ab1
disable gamepad by default
2014-10-27 14:23:23 -07: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
0013756746
Move newArray and its relatives from runtime.js to util.js
2014-10-27 13:04:14 +01:00
Marco Castelluccio
820f2ef5da
Pass ctx as last optional parameter. Fixes #485 .
2014-10-27 12:37:53 +01:00
Marco Castelluccio
83310b4b10
Merge branch 'master' of https://github.com/andreasgal/j2me.js into jitjit
...
Conflicts:
tests/automation.js
2014-10-26 17:57:08 +01:00
Marco
003906c13e
Merge pull request #493 from mykmelez/test-https-connection
...
test HTTPS connection
2014-10-26 17:23:44 +01:00