Pass ctx as last optional parameter. Fixes #485.
Move newArray and its relatives from runtime.js to util.js
Move newArray and its relatives from Context and Runtime to util
disable gamepad by default
use 'in' operator for to clarify conditional
Merge pull request #499 from mykmelez/disable-gamepad

disable gamepad by default
Replace preprocessed files with unpreprocessed ones. Fixes #496.
Add needed definitions
Allow preprocessing multiple jpp files
Merge pull request #497 from marco-c/remove_ctx

Pass ctx as last optional parameter in natives
Merge pull request #498 from marco-c/move_helpers_in_util

Move newArray and its relatives to util
Merge branch 'master' of https://github.com/andreasgal/j2me.js into jpp
Clean processed java files after a build
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.
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.
preserve focus/visibility state
Document how to run j2me.js in the SpiderMonkey shell
Fix list indentation
Emphasize js shell command
Use H4 for the js shell paragraph