Myk Melez
ae0bacb365
fix Chrome compat by using getAll shim in fs module
2015-01-28 16:30:13 -08:00
Myk Melez
d5730ae64b
Merge branch 'master' into compiled-method-cache
2015-01-28 16:06:28 -08:00
Myk Melez
7830608d69
Merge branch 'jitopt3' of https://github.com/mbebenita/j2me.js into mbebenita-jitopt3
...
Conflicts:
jit/baseline.ts
midp/midp.js
2015-01-28 15:55:59 -08:00
Myk Melez
5bee35efb0
Merge branch 'master' into compiled-method-cache
2015-01-28 13:58:47 -08:00
Myk Melez
aaa22a55bd
Merge branch 'master' into get-all-on-startup
2015-01-28 09:39:08 -08:00
Marco Castelluccio
8452ecd893
Increase the limit for the FS buffer exponential growth
2015-01-28 10:43:17 +01:00
Michael Bebenita
3c2833b59a
Merge commit '6a01c526c2e7f616407a7a7ee15ee348ad9fedec' into jitopt3
...
Conflicts:
runtime.ts
2015-01-27 17:40:25 -08:00
Myk Melez
6a01c526c2
disable logging in CompiledMethodCache
2015-01-27 17:06:03 -08:00
Myk Melez
0ab593547c
ensure database opened and resolve promises
2015-01-27 17:02:43 -08:00
Myk Melez
41c0dff861
clear compiled method cache if midlet version changes
2015-01-27 16:55:38 -08:00
Myk Melez
b01d484656
clear compiled method cache if app version changes
2015-01-27 16:16:01 -08:00
Myk Melez
ebcdc009d4
log stats on cache restoration
2015-01-27 15:27:59 -08:00
Myk Melez
18a104c997
polyfill indexedDB.getAll for Chrome
2015-01-27 15:11:20 -08:00
Michael Bebenita
a7f89f612f
Merge commit '1be05481a522186f1c93bfe6dad5478ae5c08372' into jitopt3
2015-01-27 00:47:50 -08:00
Michael Bebenita
932d1ffaac
Merge commit 'db799e5aa8cc83134f41ca49305b254265a848ae' into jitopt3
2015-01-27 00:19:27 -08:00
Myk Melez
1be05481a5
implement compiled method cache
2015-01-26 18:49:08 -08:00
Michael Bebenita
075bf07e02
Clean up make files.
2015-01-26 18:02:39 -08:00
Michael Bebenita
d590b22c71
Merge.
2015-01-26 17:52:55 -08:00
Michael Bebenita
7b22da7f34
Make console work before the VM is initialized.
2015-01-26 16:42:47 -08:00
Michael Bebenita
dfbfcb893f
Add relooper sources and Makefile.
2015-01-26 16:36:01 -08:00
Myk Melez
a9b252d9c6
get all records via mozGetAll
2015-01-26 00:37:05 -08:00
Myk Melez
212be758a0
switch datastore to use inline key so we can call mozGetAll
2015-01-26 00:24:07 -08:00
Myk Melez
0973d2bd74
disable fs debugging
2015-01-25 21:10:03 -08:00
Myk Melez
72c4b7f811
Merge branch 'master' into get-all-on-startup
...
Conflicts:
libs/fs-init.js
libs/fs.js
main.js
midp/fs.js
midp/localmsg.js
tests/automation.js
tests/fs/automation.js
tests/fs/fstests.js
2015-01-25 20:14:44 -08:00
Michael Bebenita
ebe8b51277
Use emscripten's relooper in the baseline compiler.
2015-01-25 13:45:58 -08:00
Myk Melez
716bfba757
Merge branch 'master' into clarify-licenses-harder
2015-01-23 16:39:55 -08:00
Myk Melez
9eb40c9f94
Merge branch 'master' into improve-config
...
Conflicts:
midp/gfx.js
2015-01-22 17:12:48 -08:00
Yuan Xulei
938828be6d
Show the header bar in full screen mode.
2015-01-22 21:03:23 +08:00
Myk Melez
620970cf2e
add build-time RELEASE flag that disables much logging
2015-01-21 16:46:42 -08:00
Myk Melez
f298163226
Merge pull request #900 from marco-c/fix_copyright_regression
...
Fix copyright regression
2015-01-21 15:52:20 -08:00
Marco Castelluccio
dda19e51f6
Fix name for (C) and (R) emoji; add the emoji images to the correct stripe
2015-01-22 00:25:16 +01:00
Myk Melez
a7508c00cc
set midletClassName in config file
2015-01-21 15:19:35 -08:00
Myk Melez
da902e19a6
split config between default, midlet-specific, and urlparam-overrides
2015-01-21 14:48:48 -08:00
Myk Melez
395a8766bd
move urlparams library and midlet config file to better locations
2015-01-21 14:13:19 -08:00
Myk Melez
67739d1c2e
move FileSaver license to its own file
2015-01-20 14:38:43 -08:00
Myk Melez
4dcdfe1925
Merge branch 'master' into mbebenita-intopt
...
Conflicts:
Makefile
jit/baseline.ts
jit/blockMap.ts
2015-01-20 14:14:29 -08:00
Michael Bebenita
afa697972d
Fix merge error.
2015-01-20 13:27:31 -08:00
Myk Melez
8841f3231d
get logConsole and logLevel from config object
2015-01-20 13:07:00 -08:00
Myk Melez
af3ada5842
Merge branch 'master' into mbebenita-master
2015-01-20 10:35:58 -08:00
Marco Castelluccio
17243da1c5
Update flag comments
2015-01-20 12:46:15 +01:00
Marco Castelluccio
1e421200b7
Add letter emoji (needed when one of the codepoints of a flag is deleted)
2015-01-20 12:42:24 +01:00
Marco Castelluccio
a6c1f9ccf0
Split emoji in several sprites; add other missing emoji
2015-01-20 12:38:50 +01:00
Marco Castelluccio
4167dfacb1
Add other flags emoji
2015-01-20 11:52:05 +01:00
Michael Bebenita
ce00c93ce7
Merge branch 'mbebenita-master' of https://github.com/mykmelez/j2me.js into intopt
...
Conflicts:
context.ts
2015-01-19 21:26:25 -08:00
Myk Melez
89de017a56
Revert "Make the fs initialized after main.js has started."
...
This reverts commit f72d372b84
.
We don't actually have to wait until main.js is evaluated
to initialize the fs, we just have to make sure that midletClassName
is reflected into the MIDP object before fs initialization,
which was changed in da076442af
.
2015-01-19 14:47:12 -08:00
Myk Melez
b9eee3726f
Merge remote-tracking branch 'brendandahl/mbx-baseline' into mbebenita-master
2015-01-19 12:25:33 -08:00
Myk Melez
dc0ce91200
Merge branch 'master' of github.com:andreasgal/j2me.js
2015-01-19 09:42:53 -08:00
Marco Castelluccio
5220fce4d8
Merge branch 'master' of https://github.com/andreasgal/j2me.js into drawString_sync
...
Conflicts:
midp/gfx.js
2015-01-19 11:44:55 +01:00
Marco Castelluccio
1df916b857
Use emoji sheet in drawString too
2015-01-19 00:57:27 +01:00
Marco Castelluccio
5386c7cab4
Use an Emoji sheet in the text editor instead of single images
2015-01-19 00:45:07 +01:00
Brendan Dahl
f72d372b84
Make the fs initialized after main.js has started.
2015-01-16 18:16:04 -08:00
Myk Melez
fb8ea2aa6d
Merge branch 'master' of https://github.com/mbebenita/j2me.js
2015-01-16 14:50:51 -08:00
Myk Melez
c65c72c60c
add Forge license
2015-01-16 11:33:26 -08:00
Myk Melez
4fb7a3109c
add jsbn license
2015-01-16 11:30:43 -08:00
Michael Bebenita
622e885ce9
Reduce memory allocation.
2015-01-16 00:44:46 -08:00
Brendan Dahl
eba2e7d005
Bring back the old console.
2015-01-15 20:46:33 -08:00
Michael Bebenita
336ead1407
Merge branch 'master' of https://github.com/andreasgal/j2me.js
...
Conflicts:
Makefile
libs/console.js
main.html
references.ts
runtime.ts
style/main.css
2015-01-15 14:53:59 -08:00
Marco Castelluccio
123ed5177f
Merge branch 'master' of https://github.com/andreasgal/j2me.js into native_elements
...
Conflicts:
midp/fs.js
midp/gfx.js
midp/midp.js
tests/automation.js
2015-01-15 22:08:45 +01:00
Michael Bebenita
3628889c10
Save console.
2015-01-14 22:36:26 -08:00
Marco Castelluccio
c09ff2d956
Merge branch 'master' into native_elements
2015-01-15 00:38:25 +01:00
Marco Castelluccio
10e37f1fc1
Add nativeMenu option to show j2me native menus in MIDlets that need them
2015-01-15 00:18:35 +01:00
Brendan Dahl
f7111aa8a6
Merge branch 'master' of https://github.com/andreasgal/j2me.js into jit-merge
...
Conflicts:
classinfo.js
jsshell.js
main.html
main.js
midp/gfx.js
midp/midp.js
style/main.css
2015-01-13 18:08:48 -08:00
Myk Melez
9f7666e866
make URL params configurable via midlet.js
2015-01-13 13:33:17 -08:00
Marco Castelluccio
cb63d2232b
Don't replace points with slashes in the arguments
2015-01-13 00:29:12 +01:00
Michael Bebenita
42223bdff8
Update counters.
2015-01-08 16:49:27 -08:00
Michael Bebenita
67f6da5285
Faster tracing.
2015-01-07 15:46:53 -08:00
Michael Bebenita
e81341c7c3
Make it work without the Terminal.
2015-01-06 18:02:31 -08:00
Michael Bebenita
9941d5a53b
Add a faster terminal console.
2015-01-06 17:55:45 -08:00
Michael Bebenita
142cb4d0d8
Add terminal view.
2015-01-02 16:18:46 -08:00
Myk Melez
5fa0054eef
don't include time in message to raw console
2015-01-02 12:25:51 -08:00
Brendan Dahl
60fc2204c8
Merge branch 'master' of https://github.com/andreasgal/j2me.js into jit-merge
...
Conflicts:
midp/fs.js
midp/gfx.js
2014-12-29 21:59:01 -07:00
Brendan Dahl
9c2e31d19b
Merge branch 'master' of https://github.com/andreasgal/j2me.js into jit-merge
...
Conflicts:
Makefile
main.html
midp/fs.js
midp/gfx.js
midp/media.js
override.js
tests/automation.js
vm.js
2014-12-29 20:47:38 -07:00
Myk Melez
323e64bdc6
remote unused /Photos dir
2014-12-29 17:01:53 -08:00
Myk Melez
e2ca519c29
replace / root with MemoryCard/, Phone/, and Private/
2014-12-29 16:08:44 -08:00
Myk Melez
46dbf29df2
Merge branch 'master' into file-connection-tests
2014-12-29 14:12:53 -08:00
Myk Melez
a6c14f99d4
don't update mtime when renaming directory
2014-12-29 11:25:23 -08:00
Myk Melez
d01f56b7ce
report failure to remove nonexistent path
2014-12-28 22:58:39 -08:00
Myk Melez
06f6218ddd
run tests in tcktestdir subdirectory
2014-12-28 22:32:50 -08:00
Myk Melez
155484dd7e
rename file without changing mtime
2014-12-28 20:57:50 -08:00
Myk Melez
7cd8659fac
Merge branch 'master' into get-all-on-startup
2014-12-23 16:20:40 -08:00
Myk Melez
eb9709ca8b
append newlines to page console messages
2014-12-23 16:16:21 -08:00
Myk Melez
5aff2a65b8
Merge branch 'master' into testing-love
...
Conflicts:
Makefile
tests/automation.js
2014-12-23 16:16:00 -08:00
Marco Castelluccio
acd749b7ff
Set fileconn.dir.photos to a subdirectory of the FS; create the directory at startup
2014-12-23 17:18:32 +01:00
Myk Melez
3187dd3201
make fs mostly synchronous
2014-12-23 03:30:18 -08:00
Myk Melez
c3ca91bc9b
Merge branch 'master' into get-all-on-startup
2014-12-22 23:05:42 -08:00
Myk Melez
ee075a3d64
alert developer that import completed
2014-12-22 21:39:40 -08:00
Myk Melez
4c50d15edf
Merge branch 'master' into get-all-on-startup
2014-12-22 18:19:50 -08:00
Myk Melez
f83de6dcf6
Merge branch 'master' into export-import-fs
...
Conflicts:
libs/fs.js
tests/automation.js
tests/fs/automation.js
2014-12-22 18:11:11 -08:00
Myk Melez
c4b3b498ed
log import messages only if DEBUG_FS
2014-12-22 16:18:57 -08:00
Myk Melez
692373dac5
don't truncate file when opening output stream; add midlet to test mtime changes
2014-12-22 16:03:43 -08:00
Myk Melez
22692eafc9
get all records on store init
2014-12-22 12:40:27 -08:00
Myk Melez
0171a339ee
Merge branch 'master' into export-import-fs
2014-12-22 12:11:57 -08:00
Myk Melez
2ecc4958d3
Merge branch 'master' into optimize-file-connection
...
Conflicts:
tests/automation.js
2014-12-22 02:43:23 -08:00
Myk Melez
1b5c433a9d
determine if isDir in fs.list; measure perf w/JVM.monotonicTimeMillis
2014-12-22 02:27:19 -08:00
Myk Melez
912f32632d
move exists/isDirectory checks into native listImpl to improve perf
...
Moving the exists/isDirectory checks into the native listImpl method
required modifying the fs.list implementation to distinguish between
those two states when calling its callback with results. So I added
an error parameter to its callback, and I made it the first parameter,
per the nodejs convention.
And that entrained changes to the fs init/test code, at which point
I realized that we're testing the initialization of old db versions
unnecessarily, since what really matters is whether those old versions
can be upgraded to the latest one while retaining the fidelity
of the files.
And testing old db versions as the fs interface changes would require
writing a bunch of mostly-duplicate, obsolete code. So I updated the fs
init/test scripts not to test old versions (until after upgrading them).
2014-12-22 01:04:18 -08:00
Myk Melez
592ac14cba
don't reflect file changes into path-based functions until flush/close
2014-12-21 10:40:29 -08:00
Marco Castelluccio
7b7a046435
Merge branch 'master' of https://github.com/andreasgal/j2me.js into drawString_emoji
...
Conflicts:
tests/automation.js
2014-12-20 19:38:25 +01:00
Myk Melez
679c924d1a
test export/import to ensure fs remains equivalent
2014-12-19 23:38:26 -08:00
Myk Melez
e6c0423d19
add ability to import fs
2014-12-19 17:06:48 -08:00
Myk Melez
d91276b20a
report export request errors; log each key; add timestamp to filename
2014-12-19 15:46:01 -08:00