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

649 Коммитов

Автор SHA1 Сообщение Дата
Andreas Gal bf38f5ff3b implement KeyConverter.getKeyCode 2014-08-08 01:05:09 -07:00
Andreas Gal 1930bdcaa8 fix translate in gfx 2014-08-07 22:25:10 -07:00
Andreas Gal 1f60bb7145 remove whitespace 2014-08-07 22:01:01 -07:00
Andreas Gal 3b484e7d40 Resolve merge conflicts. 2014-08-07 21:01:06 -07:00
Marco Castelluccio 6c570a2171 Add some natives for a stub implementation of alarms 2014-08-07 18:32:14 -07:00
Donovan Preston fd20a211cc Merge branch 'master' of https://github.com/andreasgal/j2me.js into smaller-font 2014-08-07 19:53:01 -04:00
Donovan Preston c63e9a3f91 Make SMALL_FONT a little bigger in relation to the default font size. 2014-08-07 19:45:31 -04:00
Donovan Preston 9e22c4eaee Make the default font size 10 pt.
Makes the exception text fit in the box a bit better, but it still
clips over on the right side a bit.
2014-08-07 19:30:42 -04:00
Donovan Preston 3398f6852d Fix the message that shows if there is an exception at startup 2014-08-07 19:17:42 -04:00
Andreas Gal 86a95f008c Merge pull request #62 from fzzzy/draw-offscreen-2
Draw offscreen to render more correctly.
2014-08-07 16:03:24 -07:00
Andreas Gal f141e496a0 Merge pull request #56 from marco-c/native_security_handler
Use the native version of the SecurityHandler class
2014-08-07 16:00:04 -07:00
Donovan Preston 342e7dff81 Merge branch 'master' of https://github.com/andreasgal/j2me.js into draw-offscreen-2 2014-08-07 18:55:35 -04:00
Donovan Preston 6b17316e2d Fix rendering menus in HelloMid and asteroids. 2014-08-07 18:53:13 -04:00
Andreas Gal f9da3b6a04 Whitespace...Whitespace everywhere 2014-08-07 15:50:25 -07:00
Marco Castelluccio f964e65d46 Merge branch 'master' of https://github.com/andreasgal/j2me.js into load_jad_manifest 2014-08-07 15:29:04 -07:00
Marco Castelluccio 4f2246a0ff Add SuiteSettings::save0 native 2014-08-07 15:26:40 -07:00
Marco Castelluccio f79e5f1a6a Move MIDP.manifest definition to midp/midp.js 2014-08-07 15:20:39 -07:00
Marco Castelluccio 6483973d22 Allow loading JAD manifest with a jad url param 2014-08-07 15:18:03 -07:00
Donovan Preston 1057c06b68 Re-apply changes from draw-offscreen branch 2014-08-07 17:39:50 -04:00
Andreas Gal 1698ee7f6a Revert "Draw offscreen; fixes a lot of graphics glitches. Crazy golf renders properly." 2014-08-07 14:29:23 -07:00
Donovan Preston d5b1543cae Hack to always draw strings on the main canvas. Fixes issues with text. 2014-08-07 17:12:41 -04:00
Donovan Preston 8669f5eed4 Missed switching to use c in some places 2014-08-07 17:10:33 -04:00
Donovan Preston eead6ccbba Initial refactor to draw onto Graphics.img if not null.
Text is completely broken right now, though.
2014-08-07 16:39:44 -04:00
Marco Castelluccio 3e3811bea7 Use native version of the SecurityHandler class 2014-08-07 11:54:41 -07:00
Donovan Preston 7f9ac92b65 drawLine needs to use withPixel; colors are correct in asteroids now 2014-08-06 21:59:03 -04:00
Marco Castelluccio ca78a269d7 Remove duplicated natives 2014-08-06 17:56:34 -07:00
Andreas Gal 681c7918b2 Merge pull request #51 from marco-c/fillArc
Add fillArc and call beginPath in drawArc
2014-08-06 16:57:18 -07:00
Andreas Gal 6f5866f663 move newPrimitiveArray to context as well 2014-08-06 16:53:35 -07:00
Andreas Gal 695d1619f8 move isolate-specific state out of CLASSES 2014-08-06 16:48:17 -07:00
Marco Castelluccio c549239e21 Add fillArc and call beginPath in drawArc 2014-08-06 16:39:14 -07:00
Andreas Gal a0c1b8d9d1 more work on imageData handling 2014-08-06 02:08:20 -07:00
Andreas Gal 6e86647893 a couple fixes to renderRegion 2014-08-06 00:51:08 -07:00
Donovan Preston ca0b7d160b Add a manifest.webapp; add buttons to the phone ui 2014-08-05 23:39:42 -04:00
Andreas Gal e2165dbead add drawRGB 2014-08-05 20:22:52 -07:00
Andreas Gal ece3e6e916 fix getRGB 2014-08-05 20:09:26 -07:00
Andreas Gal d0bc99f945 fix a bug in renderRegion 2014-08-05 20:04:21 -07:00
Andreas Gal d5460a50b2 implement fillTriangle 2014-08-05 19:47:01 -07:00
Andreas Gal 646ea9d3e7 implement getRGB 2014-08-05 19:41:12 -07:00
Andreas Gal 801662f0cc properly implement createMutableImageData 2014-08-05 19:25:16 -07:00
Andreas Gal bbc8a00476 fix a few names in gfx.js 2014-08-05 19:23:41 -07:00
Andreas Gal 6dd54e2c4f move ImageData handling into gfx.js 2014-08-05 19:14:12 -07:00
Andreas Gal b177926de7 fix rect sizes as well 2014-08-05 18:44:24 -07:00
Andreas Gal 050566c6fc properly draw lines with 0 width/height 2014-08-05 18:39:13 -07:00
Andreas Gal 13e0674b20 move DisplayDevice also into gfx.js 2014-08-05 18:28:44 -07:00
Andreas Gal f57d592bdb remove redundant code from midp.js 2014-08-05 18:26:33 -07:00
Andreas Gal b50edaa51d fix remaining MIDP. references except Context2D 2014-08-05 18:24:48 -07:00
Andreas Gal 1e85c8a814 cleanup gfx.js and stop leaking values into MIDP 2014-08-05 18:23:14 -07:00
Andreas Gal b8805a7322 factor out midp natives 2014-08-05 18:08:17 -07:00
Andreas Gal 9597961753 factor out gfx parts into gfx.js and introduce midp/ 2014-08-05 18:07:39 -07:00