Граф коммитов

2328 Коммитов

Автор SHA1 Сообщение Дата
Marco Castelluccio 314d2b0796 Remove Object.seal call 2014-09-30 19:14:15 -07:00
Marco Castelluccio 9761b78aac Fix indentation 2014-09-30 19:13:44 -07:00
Marco Castelluccio 1e149c56a6 Store isSynchronized boolean in Frame instead of calling the ACCESS_FLAGS::isSynchronized function and store lockObject just once 2014-09-30 19:00:10 -07:00
Marco Castelluccio 0162737534 Terminate execution when there's only one frame left 2014-09-30 18:44:28 -07:00
Marco Castelluccio e1390b706c Merge branch 'master' of https://github.com/andreasgal/j2me.js into seal_Frame 2014-09-30 17:46:46 -07:00
Myk Melez 085896ec5d Merge pull request #369 from marco-c/optimize_LocalizedStringsBase
Don't parse localized strings multiple times
2014-09-30 17:44:51 -07:00
Marco Castelluccio c304441fa2 Make MIDP.localizedStrings a Map 2014-09-30 17:33:42 -07:00
Marco Castelluccio 1146835d77 Don't create a fake caller frame for synthetic methods 2014-09-30 17:23:24 -07:00
Myk Melez a2425f7421 Merge pull request #372 from marco-c/remove_syntheticKey
Don't use syntheticKey in Instrument.getKey
2014-09-30 17:12:25 -07:00
Marco Castelluccio 50aef85f82 Don't use syntheticKey in Instrument.getKey. Fixes #371. 2014-09-30 15:16:38 -07:00
Myk Melez 54b7a4b64f Merge pull request #365 from marco-c/optimize_ByteArrayOutputStream_write
Override ByteArrayOutputStream::write(int)
2014-09-30 15:05:18 -07:00
Marcus Cavanaugh 7217c02efe Add additional tests, with fixes for edge cases. 2014-09-30 14:49:06 -07:00
Marco Castelluccio 49725d1acc Prevent addition of properties on Frame 2014-09-30 14:30:56 -07:00
Marcus Cavanaugh 4f4d5d9a42 Bitshift instead of multiply; remove impossible case; add comment for use of "16". 2014-09-30 12:10:22 -07:00
Marco c84407d9f2 Merge pull request #363 from brendandahl/chrome-temp
Various fixes for chrome.
2014-09-30 11:49:50 -07:00
Marco Castelluccio ee6c1d0478 Don't cache assets/0/en-US.xml file 2014-09-30 11:46:31 -07:00
Marco Castelluccio 1774e1649b Don't parse localized strings multiple times 2014-09-30 11:41:08 -07:00
Marcus Cavanaugh 9b5373a0ec Port StringBuffer to JS. 2014-09-30 11:15:29 -07:00
Marco Castelluccio d4bdec7ad7 Override Permissions methods to avoid expensive calls to DomainPolicy.loadValues. Fixes #351. 2014-09-30 11:13:40 -07:00
Marco Castelluccio 2b451436b3 Override ByteArrayOutputStream::write(int) 2014-09-30 09:49:36 -07:00
Brendan Dahl 8385651ce0 Various fixes for chrome. 2014-09-30 09:17:16 -07:00
Marco b9b1520e88 Merge pull request #364 from mykmelez/read-on-closed-socket
return -1 early when Protocol.read0 called on closed socket
2014-09-29 18:12:13 -07:00
Myk Melez d782fd9700 return -1 early when Protocol.read0 called on closed socket 2014-09-29 16:44:27 -07:00
Marco a10b4e3c37 Merge pull request #347 from brendandahl/fix-init
Fix JAR/JAD files loading multiple times.
2014-09-29 15:23:21 -07:00
Myk Melez 1b7af2a830 Merge pull request #353 from mcav/strings
Reimplement java.lang.String with JS Strings.
2014-09-29 14:45:22 -07:00
Marcus Cavanaugh 7df69d7d3e Add a few tests for lastIndexOf and endsWith. 2014-09-29 14:33:51 -07:00
Brendan Dahl 6c722a5b1d Add promises polyfill. 2014-09-29 11:25:33 -07:00
Brendan Dahl d07f84fd77 Wait for FS init. 2014-09-29 10:36:11 -07:00
Marcus Cavanaugh 0c18df2554 Replace fromCharCode loop with TextEncoder; fix indentation; fix getField conventions. 2014-09-29 10:04:09 -07:00
Marcus Cavanaugh fe323649c6 Reimplement java.lang.String with JS Strings. 2014-09-29 09:43:31 -07:00
Marco 31a6710712 Merge pull request #356 from mykmelez/create-truncate-file
also test FCOutputStream.openOffsetImpl
2014-09-27 13:49:35 -07:00
Myk Melez 12b4861959 Merge branch 'master' into create-truncate-file 2014-09-27 03:16:33 -07:00
Myk Melez 7b673c0a2a also test FCOutputStream.openOffsetImpl 2014-09-27 03:13:48 -07:00
Marco 182171c51a Merge pull request #355 from mykmelez/create-truncate-file
truncate files that exist but are empty; create files with Blob
2014-09-27 03:12:09 -07:00
Myk Melez a3e1a2a0ca test FCOutputStream instantiation creates nonexistent file 2014-09-27 03:02:44 -07:00
Myk Melez ec2a93bce8 ensure creation succeeds before setting stat.isDir 2014-09-27 02:21:48 -07:00
Myk Melez d70a4e79e7 use stat to ensure file being truncated isn't dir 2014-09-27 02:02:10 -07:00
Myk Melez 5b33e8f953 create files correctly; truncate files that exist but are empty 2014-09-27 01:30:24 -07:00
Myk Melez 12d4c3842f Merge pull request #352 from marco-c/optimize_UTF_8_Writer
Optimize UTF_8_Writer
2014-09-26 21:50:37 -07:00
Marco Castelluccio 25121d31e2 Update method to access fields 2014-09-26 21:43:13 -07:00
Marco Castelluccio e4c8335bf4 Place spaces around <= 2014-09-26 21:42:37 -07:00
Marco Castelluccio fc02394056 Merge branch 'master' of https://github.com/andreasgal/j2me.js into optimize_UTF_8_Writer 2014-09-26 21:41:04 -07:00
Myk Melez c808335c82 Merge pull request #350 from marco-c/optimize_ByteArrayOutputStream
Override ByteArrayOutputStream::write(byte[],int,int)
2014-09-26 21:37:47 -07:00
Marco Castelluccio 5d0dbff1f0 Actually update method to access fields 2014-09-26 21:33:23 -07:00
Marco Castelluccio 7016086f09 Update method to access fields 2014-09-26 21:29:27 -07:00
Marco Castelluccio 3d47cf3a0c Merge branch 'master' of https://github.com/andreasgal/j2me.js into optimize_ByteArrayOutputStream 2014-09-26 21:28:48 -07:00
Myk Melez 4ded8aedba Merge pull request #349 from marco-c/pass_key_to_getfield
Pass field key to getField
2014-09-26 21:25:42 -07:00
Marco Castelluccio a73e4ed546 Merge branch 'master' of https://github.com/andreasgal/j2me.js into pass_key_to_getfield
Conflicts:
	classes.js
2014-09-26 21:19:58 -07:00
Marco Castelluccio dd8a34cd9f Simplify conditions 2014-09-26 21:14:36 -07:00
Marco Castelluccio f6c266d033 Merge branch 'master' of https://github.com/andreasgal/j2me.js into optimize_ByteArrayOutputStream
Conflicts:
	override.js
2014-09-26 21:14:07 -07:00