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

649 Коммитов

Автор SHA1 Сообщение Дата
Brendan Dahl 7cd00ff1e2 Use correct array type. 2014-12-11 14:35:12 -08:00
Brendan Dahl 4319e83aa8 Create typed array from array buffer. 2014-12-11 13:53:58 -08:00
Brendan Dahl 18a95519a2 Reject image promise on error. 2014-12-09 13:43:35 -08:00
Brendan Dahl 36161c6045 Fix other image loading problem. 2014-12-09 13:36:50 -08:00
Brendan Dahl b4271a9c26 Merge branch 'master' of https://github.com/mbebenita/j2me.js into jit-merge-mbx 2014-12-09 12:16:26 -08:00
Brendan Dahl 69aef649be Don't resolve image promise until it's loaded. 2014-12-09 11:51:47 -08:00
Michael Bebenita 392eaa1ecf Merge commit '96612946fa68863599617fedad8079b9b2c27d2a' 2014-12-09 11:48:50 -08:00
Michael Bebenita 2b5bf724d1 Change some of the natives to not expect null slots. 2014-12-09 11:48:23 -08:00
Marcus Cavanaugh 4ccafacbf0 Merge upstream/master. 2014-12-09 08:57:04 -08:00
Marco Castelluccio eb70e3cdec Remove console.log from loadAndCreateImmutableImageDataFromCache0 and explain why we're not implementing the cache in a comment 2014-12-08 22:05:57 +01:00
Marco f4eb28cac2 Merge pull request #687 from PinZhang/pzhang/fix-snapshot
Fix issue: only first snapshot sucess
2014-12-05 14:25:24 -06:00
Pin Zhang 22e15e203d Fix issue: only first snapshot sucess
It will fail to take another snapshot with an exception that tells timeout.
2014-12-05 12:13:51 -08:00
Myk Melez c503810e38 Merge pull request #681 from marco-c/increase_font_size
Increase default font size
2014-12-05 11:45:42 -08:00
Marco Castelluccio 478926b8af Merge branch 'master' of https://github.com/andreasgal/j2me.js into increase_font_size 2014-12-05 10:11:43 -08:00
Pin Zhang 7164cd9ab4 Fix multi-thread issue in localmsg API 2014-12-05 10:08:39 -08:00
Myk Melez 886f3058e1 Merge pull request #679 from marco-c/increase_baseline
Set baseline correctly and fix text anchor handling
2014-12-05 09:32:08 -08:00
Yuan Xulei d759b49a20 Implement NativeTonePlayer. Fix #656 2014-12-04 20:45:54 -08:00
Marco Castelluccio d3e287d485 Use fontSize=10 for gfx tests 2014-12-04 17:44:11 -08:00
Marco Castelluccio 101680bf07 Increase font size. Fixes #678 2014-12-04 17:42:46 -08:00
Marco Castelluccio aea2a2d91c Fix text anchor handling 2014-12-04 15:49:36 -08:00
Marco Castelluccio 4ef62ca598 Set baseline size as the font size 2014-12-04 12:01:26 -08:00
Brendan Dahl cce2700224 Skip setting undefined values. 2014-12-04 11:45:35 -08:00
Pin Zhang 1e7d08ae8a Handle max_kb in nokia.image-processing localmsg api. 2014-12-04 10:52:04 -08:00
Marco Castelluccio 826b8e848a Define TYPE_USHORT_4444_ARGB and TYPE_USHORT_565_RGB as constants 2014-12-04 11:46:24 -06:00
Marco Castelluccio e9cfcf53cf Fix converter functions for Nokia-specific UI functions 2014-12-03 18:12:43 -08:00
Brendan Dahl 4abe001e2e Merge branch 'master' of https://github.com/andreasgal/j2me.js into jit-merge-mbx
Conflicts:
	libs/fs.js
	midp/media.js
	tests/automation.js
	vm.js
2014-12-01 10:25:23 -08:00
Brendan Dahl 66eee2fcf6 Use statics for primitive arrays and primitive values. 2014-11-30 19:49:39 -08:00
Marco Castelluccio 2203e30203 Fix DrawLine native to work with offscreen canvases 2014-11-29 02:52:35 +01:00
Marco Castelluccio 3ecca76129 In getEncodingParam allow the url string to start with 'encoding' 2014-11-28 01:58:53 +01:00
Brendan Dahl 90708550be Fix various klass issues to get test framework running. 2014-11-27 11:15:28 -08:00
Brendan Dahl c6ea0a6287 Fix get class info. 2014-11-26 18:40:02 -08:00
Brendan Dahl d49c18ff56 Array fixes. 2014-11-26 18:35:12 -08:00
Marco Castelluccio 34f5cab845 Merge branch 'master' of https://github.com/andreasgal/j2me.js into get_Duration
Conflicts:
	midp/media.js
	tests/automation.js
2014-11-27 02:41:15 +01:00
Myk Melez 72751c03d5 Merge pull request #655 from marco-c/vibration
Support API for vibrations
2014-11-26 17:30:24 -08:00
Myk Melez 57f2cd6c2f Merge pull request #646 from marco-c/long_press
Support long press gesture event
2014-11-26 17:24:54 -08:00
Myk Melez 7e7b13c235 Merge pull request #643 from marco-c/camera_2
Support taking pictures
2014-11-26 17:24:09 -08:00
Marco Castelluccio 6d9fb5920f Support API for vibrations 2014-11-27 01:04:47 +01:00
Marco Castelluccio 1c33f91fb8 Merge branch 'master' of https://github.com/andreasgal/j2me.js into get_Duration
Conflicts:
	tests/automation.js
2014-11-26 19:33:33 +01:00
Marco Castelluccio 8f57a73744 Support DirectPlayer::nGetDuration. Fixes #653 2014-11-26 19:24:51 +01:00
Myk Melez e2b10044c2 Merge branch 'master' into fs-perf
Conflicts:
	tests/automation.js
2014-11-26 09:57:58 -08:00
Myk Melez 1706100a89 Merge branch 'master' into fs-perf 2014-11-25 23:32:26 -08:00
Pin Zhang 1d90f2a144 Implement localmsg://nokia.sa.service-registry API 2014-11-26 09:16:08 +08:00
Marco Castelluccio 84b4622f29 Don't send GESTURE_DRAG or GESTURE_DROP if the gesture was a long press 2014-11-26 00:22:29 +01:00
Marco Castelluccio 8d2e69f50e Support long press gesture event 2014-11-26 00:14:04 +01:00
Marco Castelluccio a3d8b4a1dc Also add top offset 2014-11-25 22:31:50 +01:00
Marco Castelluccio 2f8ace2e3a Use 'image/jpeg' as default if getSnapshot parameter is null 2014-11-25 18:18:02 +01:00
Marco Castelluccio 104ca70641 Missing fromJavaString in DirectPlayer::nStartSnapshot 2014-11-25 17:47:19 +01:00
Marco Castelluccio 2cf00c6abc Use image format for toBlob from the encoding parameter instead of hardcoding it as 'image/jpeg' 2014-11-25 17:19:31 +01:00
Marco Castelluccio 2bbad5a17a Send a MMAPI_EVENT native event when the screenshot is taken and return its data back to DirectPlayer. Fixes #358 2014-11-25 17:06:09 +01:00
Marco Castelluccio 79332d5314 Take a shot from the camera stream 2014-11-25 17:04:34 +01:00