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

247 Коммитов

Автор SHA1 Сообщение Дата
Marco Castelluccio 338f62bdaa Remove opts parameter from Override.create/Native.create and use the MethodInfo's isStatic property. Fixes #443. 2014-10-14 16:38:16 -07:00
Marco Castelluccio 118a04612d Merge branch 'master' of https://github.com/andreasgal/j2me.js into introduce_native_create
Conflicts:
	native.js
2014-10-14 15:45:32 -07:00
Marco Castelluccio 426b161170 Convert other natives to Native.create 2014-10-14 13:18:50 -07:00
Myk Melez ea0d668ee5 restart thread immediately on Context.start 2014-10-14 11:34:02 -07:00
Marco Castelluccio 571ba4ec5b Implement a helper similar to Override.create for natives; port some natives to use Native.create. Fixes #378. 2014-10-14 11:25:31 -07:00
Marco Castelluccio 2f7c2ad70f Add needed info to synthetic methods to calculate the consumes property 2014-10-10 01:30:30 -07:00
Marcus Cavanaugh 527e65a695 Make synthetic methods use the MethodInfo constructor. 2014-10-09 16:31:00 -07:00
Marco 29e57f37dd Merge pull request #414 from mcav/alternate-2
Move alternateImpl detection into MethodInfo constructor.
2014-10-09 13:56:15 -07:00
Marco Castelluccio 218d49e0e9 Add missing stack.pop() in Isolate.setPriority0 2014-10-09 10:52:42 -07:00
Marcus Cavanaugh 0a6b67fd1c Move alternateImpl detection into MethodInfo constructor. 2014-10-08 14:05:34 -07:00
Myk Melez 2be0a5b730 Revert "Move alternateImpl detection into MethodInfo constructor." 2014-10-08 12:20:48 -07:00
Marcus Cavanaugh 81e80969b6 Move alternateImpl detection into MethodInfo constructor. 2014-10-07 11:14:05 -07:00
Marco Castelluccio f695a7a024 Create synthetic methods with Uint8Array bytecode to avoid bailouts in frame.js 2014-10-02 12:26:23 -07:00
Myk Melez 5e02bc0553 Merge pull request #376 from marco-c/seal_Frame
Always create Frame objects with the same set of properties
2014-10-01 17:53:31 -07:00
Marco 362983df71 Merge pull request #367 from mcav/stringbuffer
Port StringBuffer to JS.
2014-10-01 11:43:26 -07:00
Marco Castelluccio e42b3e8c46 Remove stopFrame 2014-09-30 19:18:26 -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
Marco Castelluccio 1146835d77 Don't create a fake caller frame for synthetic methods 2014-09-30 17:23:24 -07:00
Marco Castelluccio 50aef85f82 Don't use syntheticKey in Instrument.getKey. Fixes #371. 2014-09-30 15:16:38 -07:00
Marcus Cavanaugh 9b5373a0ec Port StringBuffer to JS. 2014-09-30 11:15:29 -07:00
Marcus Cavanaugh fe323649c6 Reimplement java.lang.String with JS Strings. 2014-09-29 09:43:31 -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
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 e148d53811 Implement UTF_8_Writer::sizeOf in JS 2014-09-26 13:29:15 -07:00
Marco Castelluccio 901448bb2a Implement UTF_8_Writer::write in JS and make it convert the whole array and send it all at once to the output stream. Fixes #314. 2014-09-26 13:24:59 -07:00
Marco Castelluccio 01d6985889 Use 'S' for static, 'I' for non-static 2014-09-26 11:48:06 -07:00
Marco Castelluccio b71ee629f6 Fix all getField callers 2014-09-25 21:04:20 -07:00
Marco Castelluccio de7ec4104d Add vmc and vfc fields to all classes 2014-09-25 19:20:41 -07:00
Marco Castelluccio 912216499e Override UTF_8_Reader completely, without implementing methods that are never used 2014-09-25 16:26:39 -07:00
Marco Castelluccio 9a7e55135c Override ResourceInputStream::read() and ResourceInputStream::available() instead of implementing the natives they call 2014-09-25 11:40:22 -07:00
Marco Castelluccio fa179469c3 Store 1 or 0 in the key according to whether the method is static or not 2014-09-24 22:51:46 -07:00
Marco Castelluccio 4021a2b927 Remove unused argument from getMethod 2014-09-24 22:38:41 -07:00
Marco Castelluccio faccf951d9 Store the key lazily in methodInfo and pass the key to getMethod 2014-09-24 22:35:02 -07:00
Marco Castelluccio 746ca451dc Use TypedArray::set in unchecked_*_arraycopy instead of for loop 2014-09-24 16:06:43 -07:00
Marco Castelluccio 842c53b7e3 No need to store the |start| value when using performance.now() 2014-09-23 17:55:59 -07:00
Marco Castelluccio f8a733c43c Use performance.now() in monotonicTimeInMillis 2014-09-23 17:51:00 -07:00
Myk Melez 7472648262 identify individual synthetics 2014-09-22 01:46:49 -07:00
Myk Melez 85178cace0 identify synthetics in profile 2014-09-22 01:35:12 -07:00
Marco Castelluccio f09a07e789 Add other properties 2014-09-19 17:26:56 -07:00
Marco Castelluccio b42704d2c0 Add comment 2014-09-19 17:18:25 -07:00
Marco Castelluccio 83667c5bee Add other fileconn properties 2014-09-19 17:17:47 -07:00
Marcus Cavanaugh 1c20f19c14 Return proper timezone for "com.sun.cldc.util.j2me.TimeZoneImpl.timezone". 2014-09-17 12:14:12 -07:00
Marco Castelluccio 83e747ad35 Implement String::intern native 2014-09-12 13:28:56 -07:00
Myk Melez 089d5fd542 implement String.intern 2014-09-10 16:23:27 -07:00
Myk Melez 144fbee172 Merge branch 'master' into improve-logging 2014-09-08 17:46:58 -07:00
Marco Castelluccio 017fd78b7a Add com.nokia.multisim.imsi.sim2 stub property 2014-09-08 17:06:40 -07:00
Myk Melez ed277b109c flush output buffer to preserve order in which messages appear 2014-09-08 09:13:08 -07:00
Myk Melez 060b30712c merge output and log consoles 2014-09-08 08:19:29 -07:00