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

381 Коммитов

Автор SHA1 Сообщение Дата
Brendan Dahl 25a6bc01c8 Remove thread start synthetic code. 2015-02-25 16:29:15 -08:00
Brendan Dahl cc2fc91579 Remove new instance synthetic code. 2015-02-25 16:01:07 -08:00
Brendan Dahl 764c00beb4 Use Class.java static initialization code. 2015-02-24 12:45:18 -08:00
Tim Abraldes fb9c84020b Merge branch 'master' into midpmodule 2015-02-24 11:15:03 -08:00
Marco Castelluccio f861cb1544 Reintroduce custom version of DataOutputStream 2015-02-23 23:29:08 +01:00
Marco Castelluccio 3e8bc99682 Merge branch 'master' of github.com:mozilla/j2me.js into self_hosting_datainputstream_dataoutputstream
Conflicts:
	jit/baseline.ts
2015-02-23 23:24:03 +01:00
Myk Melez c393611362 Merge branch 'master' into clarify-licenses-hardest
Conflicts:
	jsshell.js
2015-02-20 09:42:33 -08:00
Marco Castelluccio 107c2613dd Remove custom DataInputStream and DataOutputStream natives. Fixes #1114. 2015-02-19 02:36:28 +01:00
Tim Abraldes 010e54589a Merge branch 'master' into midpmodule
Conflicts:
	midp/gfx.js
	midp/midp.js
2015-02-18 08:27:49 -08:00
Marco Castelluccio 8fc05d0de4 Move the only native remaining in string.js to native.js; remove string.js 2015-02-18 00:00:48 +01:00
Marco Castelluccio 5510f27201 Remove now unneeded UTF_8_Reader and UTF_8_Writer natives 2015-02-17 23:52:13 +01:00
Michael Bebenita ed5e51cffd Merge. 2015-02-16 09:41:02 -08:00
Tim Abraldes 5221d2620b Merge branch 'master' into midpmodule
Conflicts:
	midp/gfx.js
2015-02-14 11:26:33 -08:00
Myk Melez 6c633a6d05 move files with node-jvm code to subdirectory 2015-02-13 18:18:08 -08:00
Marco Castelluccio 8276ce3378 Remove unneeded setAsCurrentContext calls. Fixes #1022 2015-02-14 00:15:14 +01:00
Tim Abraldes 06efc4ec6b Convert MIDP to module pattern.
This change attempts to have the smallest diff possible so that it is
obvious what has actually changed. Hence, whitespace will look funny in
this file after this change is applied. A follow-up whitespace-only
change will be made.

MIDP has been converted from an object to a module. `MIDP.Context2D`
has been converted from a module to the member variable
`MIDP.context2D`. Invocations of `MIDP.sendNativeEvent` have been
replaced with `MIDP.send*Event` function invocations. This provides a
dual benefit: Those functions now do
a little bit of validation that we weren't doing before, and we don't
have to expose `MIDP.sendNativeEvent` or `MIDP.foregroundIsolateId`
2015-02-12 18:13:33 -08:00
Marco Castelluccio 7863ff1182 Remove spurious comment about the audio.encodings property 2015-02-13 02:07:25 +01:00
Yuan Xulei 10fc445121 Fix System.getProperty0("com.nokia.multisim.slots") return type. 2015-02-10 17:57:14 +08:00
Michael Bebenita f1dcc1ef4e Updates benchmark to call GC between runs. 2015-02-09 21:18:44 -08:00
Brendan Dahl 816bad3464 Merge branch 'master' of https://github.com/mozilla/j2me.js into mbebenita-preempt 2015-02-05 13:45:51 -08:00
Myk Melez c77d8ed37a Merge pull request #1024 from marco-c/typedarray
Use Int8Array instead of Uint8Array throughout the codebase
2015-02-03 21:32:37 -08:00
Marco Castelluccio 16d941008b Remove duplicate native (already implemented in bindings.ts) 2015-02-03 23:13:39 +01:00
Marco Castelluccio 528d259997 Use Int8Array instead of Uint8Array throughout the codebase 2015-02-03 01:56:53 +01:00
Marco Castelluccio 9511dd2e3e Warn about unimplemented properties only once 2015-01-30 15:39:56 +01:00
Myk Melez 1e4ed78581 reland thread preemption 2015-01-29 18:26:33 -08:00
Myk Melez d34ec288b4 Revert "Preempt threads." 2015-01-28 13:08:34 -08:00
Myk Melez 89afe89aec Merge pull request #955 from mbebenita/preempt
Preempt threads.
2015-01-28 11:33:28 -08:00
Myk Melez 36845129d0 make unimplemented native 'constructor' add itself to Native hash 2015-01-28 10:26:04 -08:00
Michael Bebenita 60f5ad8b02 Some polish and comments around thread preemption. 2015-01-28 08:36:56 -08:00
Myk Melez 345c00e644 Merge pull request #949 from brendandahl/util-cleanup
Util cleanup
2015-01-27 18:58:23 -08:00
Brendan Dahl 1741920316 Remove util.newPrimitiveArray. 2015-01-27 15:36:13 -08:00
Brendan Dahl e0a2c48bc8 Remove util.newObject. 2015-01-27 15:10:04 -08:00
Brendan Dahl 18405acb06 Use new bindings for commonly accessed fields and adds check for debug builds. 2015-01-27 11:16:36 -08:00
Tim Abraldes 0bbedae4cd Initial commit 2015-01-26 16:51:23 -08:00
Marco Castelluccio 15bd538fa6 Fix System.getProperty for null properties 2015-01-24 00:48:29 +01:00
Marco Castelluccio 1387abf82f Set additional system properties when launching a MIDlet 2015-01-24 00:03:40 +01: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
Myk Melez 195ca7bd9f Revert "Use a more reliable way of creating ad-hoc class infos."
This reverts commit e461e69def.
2015-01-20 13:35:09 -08:00
Michael Bebenita e461e69def Use a more reliable way of creating ad-hoc class infos.
(cherry picked from commit 6d8e1eea11)
2015-01-20 13:23:19 -08:00
Michael Bebenita 6d8e1eea11 Use a more reliable way of creating ad-hoc class infos. 2015-01-20 11:39:35 -08:00
Myk Melez 4bb06204f6 Merge branch 'master' into mbebenita-master
Conflicts:
	native.js
2015-01-20 11:04:24 -08:00
Myk Melez 0b875c364a simplify returning return value of unimplemented native 2015-01-20 10:33:58 -08:00
Myk Melez 94cf84f5f9 warn once for noisy unimplemented natives
(cherry picked from commit 6f18ca5e19)
2015-01-20 09:37:24 -08: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 6f18ca5e19 warn once for noisy unimplemented natives 2015-01-19 16:30:12 -08:00
Myk Melez fb8ea2aa6d Merge branch 'master' of https://github.com/mbebenita/j2me.js 2015-01-16 14:50:51 -08:00
Michael Bebenita 06930297c5 Remove frame sets so that we can save on memory allocation. 2015-01-16 04:58:54 -08:00
Michael Bebenita 7432645bea Pool frames to save on allocation. 2015-01-16 01:45:59 -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 c56f34f78a Use the canvas width and height in Launcher::handleContent 2015-01-15 23:16:05 +01:00