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

97 Коммитов

Автор SHA1 Сообщение Дата
Andreas Gal cc7a8e0e87 Merge pull request #12 from fzzzy/master
Fix some incorrect _this stack.pop()ping in native.js
2014-08-01 19:52:52 -07:00
Andreas Gal 27ddf9f663 Merge pull request #13 from marco-c/add_microedition_platform_property
Add microedition.platform property
2014-08-01 19:52:13 -07:00
Marco Castelluccio 1cf72206c0 Add microedition.platform property 2014-08-01 19:41:07 -07:00
Donovan Preston ee21138b4f Fix some incorrect _this stack.pop()ping in native.js 2014-08-01 22:18:28 -04:00
Marco Castelluccio 82fef8e403 Add poll0 native 2014-08-01 13:36:00 -07:00
Andreas Gal 272035b45c fixes to native event handling 2014-07-31 22:59:34 -07:00
Andreas Gal 853ba9a620 return locale in midp.Configuration 2014-07-31 16:02:20 -07:00
Andreas Gal 87566dc634 properly report forName(null) 2014-07-31 15:01:10 -07:00
Andreas Gal f18ae0a550 add another midp native and support microedition.locale 2014-07-31 08:59:30 -07:00
Andreas Gal f10491aa71 more midp native code 2014-07-30 17:40:39 -07:00
Andreas Gal 8c0cc49bd5 don't die on synthethic frames in the backtrace 2014-07-30 15:56:57 -07:00
Andreas Gal 3991c8a173 implement proper back traces 2014-07-30 15:49:58 -07:00
Andreas Gal 48714d05c0 move newString to classes 2014-07-29 17:40:19 -07:00
Andreas Gal aa05e9f177 resolve all constant pool entries 2014-07-29 04:26:03 -07:00
Andreas Gal 77687793db rename running -> alive 2014-07-29 02:19:10 -07:00
Andreas Gal a7d87bcfb3 fix notifyAll 2014-07-29 02:08:04 -07:00
Andreas Gal ffd8626cd3 common out code to unblock a thread 2014-07-29 01:07:15 -07:00
Andreas Gal d7a1f4302d make code run better in chrome 2014-07-28 19:13:32 -07:00
Andreas Gal 1f14601f29 add yield() 2014-07-28 15:19:07 -07:00
Andreas Gal 661777f211 add notify and notifyAll 2014-07-28 12:44:40 -07:00
Andreas Gal eb7b9eec14 improve locking of class initialization 2014-07-28 12:42:42 -07:00
Andreas Gal ae2426c4c0 a couple assorted fixes for threading 2014-07-28 00:53:37 -07:00
Andreas Gal 2f4d32f420 implement threading better 2014-07-27 23:39:41 -07:00
Andreas Gal 29c84a4c15 fix order of static class initialization 2014-07-27 20:30:10 -07:00
Andreas Gal 21359dfc2d add a few missing unchecked arraycopy natives 2014-07-27 20:22:33 -07:00
Andreas Gal 2a08d3b8ea add ClassTest.java and hashCode() 2014-07-26 18:47:38 -07:00
Andreas Gal bde88bd000 add and fix vm for ClassTest.java 2014-07-26 18:20:54 -07:00
Andreas Gal c79379d73b fix array copy with object element type 2014-07-26 17:39:49 -07:00
Andreas Gal ad400b894b add a bunch of math tests 2014-07-26 15:00:19 -07:00
Andreas Gal d394243a8a better locking for class intialization 2014-07-26 11:42:02 -07:00
Andreas Gal 600324794d assorted fixes to make TestThread work 2014-07-25 17:54:34 -07:00
Andreas Gal a903846238 make interpreter fully preemptive 2014-07-25 15:24:14 -07:00
Andreas Gal c761251cbc make all tests pass again 2014-07-25 15:06:21 -07:00
Andreas Gal 2b48b809b0 pop this in Runtime native methods 2014-07-25 13:42:44 -07:00
Andreas Gal 8da1a82cd1 fix a few native methods 2014-07-25 13:28:26 -07:00
Andreas Gal a976bfe339 fix synthetic method code 2014-07-25 13:23:10 -07:00
Andreas Gal 72f91a6a1a big refactoring to eliminate nested interpreter loops 2014-07-25 13:06:48 -07:00
Andreas Gal 5f1e87b04a remove callback pattern 2014-07-24 00:21:59 -07:00
Andreas Gal 697d6f14d3 move initClass to frame 2014-07-21 02:04:14 -07:00
Andreas Gal 3ffc368260 move newException onto frame 2014-07-21 02:01:06 -07:00
Andreas Gal f4c46b933d move invokeConstructor and newString onto frame 2014-07-21 01:50:36 -07:00
Andreas Gal 2ce801b4a8 use bind instead of closures 2014-07-21 00:30:37 -07:00
Andreas Gal db8f263702 support for actual multithreading 2014-07-20 22:24:07 -07:00
Andreas Gal c73674f64c move native method lookup code up 2014-07-20 22:08:08 -07:00
Andreas Gal d371434057 cleanup native method dispatch 2014-07-20 21:32:47 -07:00
Andreas Gal f78a97eecc preload java/lang/Object 2014-07-20 17:10:12 -07:00
Andreas Gal 09859504f0 change the way natives indicate descheduling 2014-07-20 16:47:23 -07:00
Andreas Gal 6109859fc7 implement rescheduling requests from within natives 2014-07-20 16:41:30 -07:00
Andreas Gal 599739cea6 make sure threads can't be started multiple times 2014-07-20 16:28:26 -07:00
Andreas Gal 23557e71ee add support for starting new threads 2014-07-20 16:27:24 -07:00