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

474 Коммитов

Автор SHA1 Сообщение Дата
Myk Melez bf1cb65530 Merge branch 'master' into brendandahl-jit-merge
Conflicts:
	native.js
	override.js
2015-01-09 09:37:38 -08:00
Yuan Xulei 9540097156 Fix isLowerCase and isLowerCase bug. 2015-01-08 19:03:07 +08:00
Brendan Dahl dc38749bca Merge branch 'master' of https://github.com/andreasgal/j2me.js into jit-merge
Conflicts:
	native.js
2015-01-07 15:18:39 -08:00
Yuan Xulei 551c7ebf94 Class.forName should reports the correct name of ClassNotFoundException 2015-01-07 13:22:08 +08:00
Myk Melez 477c3b3078 Merge branch 'brendandahl-jit-merge' into mbebenita-master
Conflicts:
	interpreter.ts
	tests/gfx/ImmutableImageFromByteArrayTest.java
2015-01-04 22:37:21 -08:00
Myk Melez 76dcbecebf Merge branch 'master' into HEAD
Conflicts:
	midp/media.js
	tests/native.js
2015-01-04 21:07:59 -08:00
Yuan Xulei 8ae2595626 Add amr mime type and set audio.encodings property value to "encoding=audio/amr" 2015-01-04 12:09:42 +08:00
Brendan Dahl a7d178bfac Better error for unwinding during finding a class. 2015-01-02 15:45:08 -08:00
Michael Bebenita fca2a2baad TSify and clean up the rest of the VM, as well as add a closure target. 2014-12-31 12:45:52 -08:00
Brendan Dahl 60fc2204c8 Merge branch 'master' of https://github.com/andreasgal/j2me.js into jit-merge
Conflicts:
	midp/fs.js
	midp/gfx.js
2014-12-29 21:59:01 -07:00
Brendan Dahl 9c2e31d19b Merge branch 'master' of https://github.com/andreasgal/j2me.js into jit-merge
Conflicts:
	Makefile
	main.html
	midp/fs.js
	midp/gfx.js
	midp/media.js
	override.js
	tests/automation.js
	vm.js
2014-12-29 20:47:38 -07:00
Myk Melez e2ca519c29 replace / root with MemoryCard/, Phone/, and Private/ 2014-12-29 16:08:44 -08:00
Myk Melez 142fb1c788 specify a single fs root and set the memory card file: URL to it 2014-12-29 03:08:00 -08:00
Myk Melez 07067cfd9d add a filesystem root to a bunch of file: URLs 2014-12-29 02:18:55 -08:00
Myk Melez 99b3ee1d3e correct various representations of roots and paths 2014-12-29 01:47:53 -08:00
Myk Melez 11f4ffe8c8 define system property microedition.io.file.FileConnection.version 2014-12-28 20:49:24 -08:00
Marcus Cavanaugh b8bbc48e87 Replace $S with J2ME.newString. 2014-12-23 14:17:16 -06:00
Marco Castelluccio acd749b7ff Set fileconn.dir.photos to a subdirectory of the FS; create the directory at startup 2014-12-23 17:18:32 +01:00
Michael Bebenita 6557256101 Merge. 2014-12-18 17:23:42 -08:00
Marcus Cavanaugh 57437e0ebf Remove createAlternateImpl. 2014-12-18 18:41:24 -06:00
Marcus Cavanaugh c685415529 Convert JavaExceptions into plain exceptions. 2014-12-18 18:41:07 -06:00
Michael Bebenita 215cdb21b1 Remove allocation heavy bit tests. 2014-12-18 13:57:53 -08:00
Marcus Cavanaugh 1908e5c700 Merge master. 2014-12-17 17:25:34 -06:00
Brendan Dahl 68ec422421 First round of interpreter cleanup:
-Remove execute ignoring yields.
-Rename interpreter functions
-Move frame pops into the interpreter in prep for next cleanup step
2014-12-17 12:30:14 -08:00
Michael Bebenita 7bf6e682d6 Remove some usages for util.X methods and fix bug for newArray 2014-12-16 20:47:02 -08:00
Brendan Dahl c3023643cd Merge branch 'master' of https://github.com/mbebenita/j2me.js into jit-merge-mbx
Conflicts:
	context.ts
2014-12-16 13:59:24 -08:00
Brendan Dahl f81fa7db28 Temp 2014-12-15 17:38:27 -08:00
Michael Bebenita bb18fc9740 Don't use java.lang.Class instances to hold static state. 2014-12-15 17:06:43 -08:00
Yuan Xulei b90a554938 Fix #718 to prevent a sub class to reinitialize the static members of its super class. 2014-12-12 18:42:41 +08:00
Brendan Dahl 7da432a797 Merge branch 'master' of https://github.com/mbebenita/j2me.js into jit-merge-mbx 2014-12-11 16:26:23 -08:00
Brendan Dahl 1a562a8943 Misc cleanup. 2014-12-11 16:04:44 -08:00
Michael Bebenita 7825d50a90 Some cleanup around how method tracing is logged. 2014-12-09 18:19:35 -08:00
Pin Zhang 36cf28efc0 Implement Launcher.handleContent for image. 2014-12-10 09:40:35 +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
Michael Bebenita 3440fcb6ed Merge commit 'bcdb13778ded2f15d34c5ab07d5fa5cc27b48c76' 2014-12-08 23:22:41 -08:00
Brendan Dahl 9564ae1fdf Mangle signature into fields. 2014-12-08 13:47:35 -08:00
Michael Bebenita abb25df708 Makes RuntimeKlasses normal objects. Storing properties on bound functions is slow in SM becaus they fall back to dictionary mode. 2014-12-08 10:55:05 -08: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
Marco Castelluccio 189d7d88f0 Update property values 2014-12-04 18:33:42 -08:00
Brendan Dahl ebb5229397 Use a different object for locks so we don't trigger class initialization while getting the class object while pushing a class initialization frame. 2014-12-04 12:06:37 -08:00
Marcus Cavanaugh 8e596d8d7f Add unimplemented midletIsAdded method. 2014-12-04 11:21:46 -08:00
Brendan Dahl 4018b737d0 Prefix fields with class name to fix inheritance. 2014-12-03 12:06:07 -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
Michael Bebenita 40dfa017b2 Rename IP to BCI everywhere. 2014-12-01 09:47:42 -08:00
Michael Bebenita 846b1c7b80 Writes errors to stderr, changes the way symbols are registered. 2014-11-30 16:21:34 -08:00
Brendan Dahl b06146efe2 Use a single array creator. Fix inheritance chain for object arrays. 2014-11-28 21:38:23 -08:00
Brendan Dahl 90708550be Fix various klass issues to get test framework running. 2014-11-27 11:15:28 -08:00
Marco Castelluccio a15fa9510c Implement ResourceInputStream::clone. Fixes #649 2014-11-27 15:45:30 +01: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
Michael Bebenita f5f95ae10c Lots and lots of changes. 2014-11-26 01:21:11 -08:00
Brendan Dahl 5668f5b989 Fix more klass fallout. 2014-11-25 18:13:29 -08:00
Michael Bebenita d216ded20e Update some natives to the new mangling scheme. 2014-11-25 17:46:41 -08:00
Marco Castelluccio 2605d35a5a Show the getUserMedia camera stream when a MIDlet opens a capture://image media element 2014-11-25 17:01:59 +01:00
Marco 7717361bad Merge pull request #619 from PinZhang/pzhang/pr-audio-capture-rebase
Implement audio capture API
2014-11-24 12:27:00 +01:00
Marco 3bb67efde0 Merge pull request #633 from PinZhang/pzhang/batterylevel
Add system property com.nokia.mid.batterylevel
2014-11-24 12:17:05 +01:00
Pin Zhang 137be70042 Implement audio capture api 2014-11-24 13:54:02 +08:00
Pin Zhang 8de2335770 Add system property com.nokia.mid.batterylevel 2014-11-24 09:16:53 +08:00
Myk Melez 85511ade61 set com.nokia.mid.imei to the empty string 2014-11-22 16:45:06 -08:00
Brendan Dahl ef458d5b66 Remove yields from class and object initialization. 2014-11-21 12:56:45 -08:00
Marco Castelluccio df2e85cd50 Implement the expensive part of DataOutputStream::writeUTF in JS. Fixes #328 2014-11-19 18:00:23 +01:00
Marco Castelluccio 260f24e59a Add mmapi-configuration property 2014-11-14 22:58:48 +01:00
Marco Castelluccio a7792ee685 Add microedition.amms.version property 2014-11-14 22:57:46 +01:00
Marco Castelluccio b8e6ca3953 Nativize DataInputStream::readUTF. Fixes #368 2014-11-13 22:25:29 +01:00
Marco Castelluccio 4110cb8d1b Don't read the whole stream in memory when a UTF_8_Reader is opened, but on the first call to UTF_8_Reader::read 2014-11-10 23:14:12 +01:00
Marco Castelluccio d3dafd5ff8 Add microedition.pim.version property and a few more tests 2014-11-08 18:21:31 +01:00
Eric Rahm c64a188b39 Improve perf of createAlternanteImpl
- Creates return-type specific return functions that are determined at
  creation time.
- Splits off promise handling to it's own function. Overrides that use promises
  must indicate so when creating the override with the usesPromise param.
- Updates overrides that use promises
2014-11-03 17:47:51 -08:00
Marco Castelluccio 93f6ba1e8a Add directory name to fileconn.dir.photos property 2014-11-02 19:48:29 +01:00
Marco Castelluccio 60f325938f Add fileconn.dir.photos property 2014-10-31 11:31:02 +01:00
Marco Castelluccio 7179c80abb Add stub com.nokia.mid.imei property 2014-10-28 23:56:22 +01:00
Marco Castelluccio f3b184b3e4 Move newArray and its relatives from Context and Runtime to util 2014-10-27 13:13:54 +01:00
Marco Castelluccio 820f2ef5da Pass ctx as last optional parameter. Fixes #485. 2014-10-27 12:37:53 +01:00
Pin Zhang da6d616b6a Custom property microedition.platform in url. 2014-10-22 16:39:10 +08:00
Marco Castelluccio 63d101a641 Replace fcfile with file in fileconn properties. Fixes #475. 2014-10-21 20:07:57 +02:00
Marco Castelluccio 5270a577a8 Port other natives to Native.create 2014-10-16 20:08:51 -07:00
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
Myk Melez 3cface3289 correct levels of various console.* calls 2014-09-08 01:22:18 -07:00
Myk Melez 5c95489e1a pad MCC/MNC values more lazily 2014-09-05 16:06:44 -07:00
Myk Melez f535d63a04 differentiate between network/ICC values for MCC/MNC; add msisdn 2014-09-05 14:57:32 -07:00
Marco 4d987e4a94 Merge pull request #201 from mykmelez/fix-mnc
prepend MCC value to com.nokia.mid.mnc
2014-09-05 11:41:00 -07:00
Myk Melez 9c30f2a3a1 make native.js actually 'use strict' 2014-09-05 11:36:46 -07:00
Myk Melez 86810eb3d8 prepend MCC value to com.nokia.mid.mnc 2014-09-05 10:56:43 -07:00
Marco Castelluccio f6352f4aaf Add com.nokia.mid.ui.customfontsize property 2014-09-04 15:27:51 -07:00
Andreas Gal a73a2d1554 Merge pull request #186 from marco-c/add_other_fileconn_properties
Add other two fileconn properties
2014-09-03 19:23:16 -07:00
Marco Castelluccio a27f1264af Warn when reading some unimplemented com.nokia.* properties 2014-09-03 19:10:11 -07:00
Marco Castelluccio a319c44e8f Add other two fileconn properties 2014-09-03 19:03:11 -07:00
Marco Castelluccio c3fbae4470 Introduce raiseExceptionAndYield function and use it when needed 2014-08-26 09:47:51 -07:00
Marco Castelluccio 7b2f1ed71d Use com.sun.cldc.io as fallback instead of com.sun.midp.io because most of our protocols are in com.sun.midp.io 2014-08-21 09:14:28 -07:00
Myk Melez fde5781446 Merge pull request #105 from marco-c/set_nokia_keyboard_to_none
Set com.nokia.keyboard.type to None
2014-08-18 17:27:00 -07:00
Marco Castelluccio d5c02a0e81 Set com.nokia.keyboard.type to None 2014-08-18 15:49:59 -07:00
Marco Castelluccio 5b47ea3dc4 ResourceInputStream::readBytes should start reading at handle.pos 2014-08-18 15:44:28 -07:00
Andreas Gal e0ec8b7710 Merge pull request #94 from marco-c/fix_getIsolates_bug
Fix bug in Isolate::getIsolates native
2014-08-11 18:25:44 -07:00
Marco Castelluccio cf23fc786e Add Isolate::setPriority native 2014-08-11 17:16:18 -07:00
Marco Castelluccio abb24c7460 Fix bug in Isolate::getIsolates native 2014-08-11 17:13:50 -07:00
Andreas Gal c5d11d05ea Merge pull request #76 from marco-c/support_links
Add some LinkPortal and Link natives
2014-08-08 18:36:57 -07:00
Marco Castelluccio a595c7de68 Merge branch 'master' of https://github.com/andreasgal/j2me.js into support_links
Conflicts:
	native.js
2014-08-08 18:34:31 -07:00
Andreas Gal 3b4db1d0e4 Merge pull request #81 from marco-c/add_mobileinfo_library
Add mobileInfo library to get informations about mobile connections usin...
2014-08-08 18:33:46 -07:00
Marco Castelluccio 7a4c96ac1b Merge branch 'master' of https://github.com/andreasgal/j2me.js into support_links 2014-08-08 16:41:11 -07:00
Marco Castelluccio 7a5da5f1f1 Add mobileInfo library to get informations about mobile connections using the mozMobileConnections API 2014-08-08 16:17:00 -07:00
Marco Castelluccio 583acd3a34 Add Isolate ID property, id0 native function, calculate the correct displayId 2014-08-08 15:24:24 -07:00
Marco Castelluccio c95700c594 Now we always have an isolate 2014-08-08 13:41:42 -07:00
Andreas Gal 3a0abad4ad Revert "Add Isolate ID property" 2014-08-08 13:33:19 -07:00
Marco Castelluccio 3c827b0ae8 Merge branch 'master' of https://github.com/andreasgal/j2me.js into support_links
Conflicts:
	native.js
2014-08-08 13:19:01 -07:00
Marco Castelluccio 925601527c Add some LinkPortal and Link natives 2014-08-08 13:07:52 -07:00
Andreas Gal b0a470c924 implement getIsolates0 2014-08-08 13:04:40 -07:00
Marco Castelluccio 8c1772d497 Add Link natives 2014-08-08 12:56:13 -07:00
Marco Castelluccio f1fca56ab7 Add Isolate ID property 2014-08-08 11:29:52 -07:00
Marco Castelluccio 269487a389 Set classpathext to null 2014-08-08 09:41:58 -07:00
Andreas Gal 7380c16ee2 always start the main class via an isolate 2014-08-08 00:47:11 -07:00
Andreas Gal e5d4e9d391 factor out startIsolate 2014-08-07 23:00:53 -07:00
Andreas Gal a9046c52e5 implement currentIsolate0 2014-08-07 22:29:16 -07:00
Andreas Gal 3b484e7d40 Resolve merge conflicts. 2014-08-07 21:01:06 -07:00
Donovan Preston d077c6fa6b Add more system properties. 2014-08-07 23:35:02 -04:00
Marco Castelluccio 6c570a2171 Add some natives for a stub implementation of alarms 2014-08-07 18:32:14 -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
Andreas Gal 2d0268af5d Merge pull request #60 from mykmelez/started-status
set status to STARTED after invoking isolate's main class
2014-08-07 15:47:34 -07:00
Myk Melez 6f6f96acd6 undo Java change by making waitStatus work like reference impl 2014-08-07 15:44:38 -07:00
Myk Melez cc45978066 move the exception handler 2014-08-07 14:29:25 -07:00
Myk Melez ca5ddcc09d set status to STARTED 2014-08-07 14:18:40 -07:00
Marco Castelluccio 11e86bd705 Don't use the tmp directory 2014-08-07 13:35:59 -07:00
Marco Castelluccio 36ac1899ae Add protocolpath properties (some protocols are in one package, some in another package) 2014-08-07 13:29:46 -07:00
Andreas Gal 5b7aef3861 calculate monotonicTimeMillis since startup, not since 1/1/1970 2014-08-07 13:07:16 -07:00
Andreas Gal 0f6f379440 fix unit tests 2014-08-07 12:32:43 -07:00
Andreas Gal 563f34d56b make isolate startup and shutdown/waitStatus work 2014-08-07 12:31:48 -07:00
Myk Melez 13b2ae8043 remove unwaitStatus 2014-08-07 12:12:57 -07:00
Myk Melez 66cabcffcb unwait status 2014-08-07 11:57:34 -07:00
Marco Castelluccio 3e3811bea7 Use native version of the SecurityHandler class 2014-08-07 11:54:41 -07:00
Myk Melez 8069981192 fix getStatus 2014-08-07 11:53:52 -07:00
Myk Melez b8a3502970 waitStatus impl 2014-08-07 11:46:11 -07:00
Andreas Gal 936de85d1c add basic support for isolates, not complete yet 2014-08-07 10:10:54 -07:00
Andreas Gal bb4ee7d4cd add nativeStart 2014-08-06 23:57:44 -07:00
Andreas Gal 5ac6ac4db5 implement Isolate.getStatus 2014-08-06 22:43:05 -07:00
Andreas Gal 57356e19db abstract static field access 2014-08-06 22:06:14 -07:00
Andreas Gal 5f34724b43 remove dead code 2014-08-06 20:50:09 -07:00
Andreas Gal c5761cdf0d Merge pull request #49 from marco-c/report_exception_on_missing_native
Raise RuntimeException on missing native method
2014-08-06 20:49:48 -07:00
Andreas Gal c6f918d9e0 move pending/initialized to runtime 2014-08-06 17:11:27 -07:00
Andreas Gal 10924b6a07 keep the mainThread on the runtime 2014-08-06 17:05:42 -07:00
Andreas Gal 08614d1704 add a runtime abstraction 2014-08-06 17:04:44 -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 1259e044a9 Raise RuntimeException on missing native method 2014-08-06 15:38:47 -07:00
Andreas Gal 67c5746f6d move newArray to context 2014-08-06 13:52:18 -07:00
Marco Castelluccio f59f18eb60 Fixed review comments 2014-08-05 17:40:13 -07:00
Marco Castelluccio 7410fdf138 Merge branch 'master' of https://github.com/andreasgal/j2me.js into other_fileconnection_natives
Conflicts:
	native.js
2014-08-05 15:57:17 -07:00
Marco Castelluccio 8e6f8e7d8d Switch read and write from using blobs to typedarrays 2014-08-05 15:53:54 -07:00
Andreas Gal d8c7ca9555 move MIDP-related natives into midp.js 2014-08-05 15:43:37 -07:00
Marco Castelluccio 3d753af444 Merge branch 'master' of https://github.com/andreasgal/j2me.js into other_fileconnection_natives 2014-08-05 14:45:23 -07:00
Marco Castelluccio 8d08f25e05 Add other natives 2014-08-05 14:44:45 -07:00
Donovan Preston e7bb2c28ac Add keyboard.type property 2014-08-05 15:54:26 -04:00