Marco Castelluccio
0a718612d3
Get parameters from the client
2014-11-06 09:29:25 +01:00
Myk Melez
e1fe774e83
Merge pull request #539 from marco-c/nokia_image_processing
...
Implement nokia.image-processing localmsg server
2014-11-05 15:57:49 -08:00
Myk Melez
b5b868e316
Merge pull request #543 from mcav/mousemove
...
Ignore spurious mousemove events.
2014-11-05 15:28:34 -08:00
Marcus Cavanaugh
b89e6580e9
Ignore spurious mousemove events.
2014-11-05 11:26:47 -08:00
Marco Castelluccio
db2aaf37e7
Set mutable field in the destination ImageData object
2014-11-05 20:08:01 +01:00
Marco Castelluccio
bbf8a8c001
Remove WIP comment
2014-11-05 20:04:29 +01:00
Marco Castelluccio
b4a4841bfa
Implement ImageDataFactory::createImmutableImageDataRegion native. Fixes #541 .
2014-11-05 20:03:03 +01:00
Marco Castelluccio
dae9d9c94d
Remove logging statements
2014-11-05 01:10:18 +01:00
Marco Castelluccio
688c7f1ed8
Store the new image and send the reply to the client. Fixes #525 .
2014-11-05 01:08:30 +01:00
Marco Castelluccio
3a136749f2
Create helper function to create "unique" files
2014-11-05 01:04:16 +01:00
Marco Castelluccio
b3c9e9e00e
Fail if the aspect value is not what we expected
2014-11-05 00:48:03 +01:00
Marco Castelluccio
0dac01ffba
Draw the image with the requested size in a canvas and transform the canvas back to a blob
2014-11-05 00:47:29 +01:00
Myk Melez
cab8e19187
Merge pull request #536 from EricRahm/alt_impl_perf
...
Improve perf of createAlternanteImpl
2014-11-04 09:27:28 -08:00
Marco Castelluccio
6027ade353
Log data sent from the client, read the requested file and decode it
2014-11-04 16:05:27 +01:00
Marco Castelluccio
6fad292b75
WIP nokia.image-processing localmsg server
2014-11-04 14:59:27 +01:00
Marco Castelluccio
ab91548569
Fix nokia.file-ui error message
2014-11-04 13:09:56 +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
37ee650fb9
Generate sequence of file names by incrementing a number instead of appending it
2014-11-03 20:25:59 +01:00
Marco Castelluccio
35ffa68ff9
Use relative paths
2014-11-03 19:23:58 +01:00
Marco Castelluccio
15c09c3576
Merge branch 'master' of https://github.com/andreasgal/j2me.js into nokia_fileui
2014-11-03 18:36:58 +01:00
Marco
ab5b708833
Merge pull request #522 from mykmelez/always-awaken-text-editor-thread
...
awaken text editor thread if there are dirty editors when sleep() called
2014-11-02 21:59:47 +01:00
Marco Castelluccio
ac7b72b5ce
Enable "Done" button when a file has been selected
2014-11-02 20:04:24 +01:00
Marco Castelluccio
40c7682c61
Merge branch 'master' of https://github.com/andreasgal/j2me.js into nokia_fileui
...
Conflicts:
midp/localmsg.js
2014-11-02 19:37:07 +01:00
Marco Castelluccio
b038696d95
Add nokia.image-processing to the list of unimplemented Nokia-specific localmsg servers
2014-11-02 19:35:39 +01:00
Marco Castelluccio
48432429d8
Store the selected file in IndexedDB and build the reply. Fixes #509 .
2014-11-02 19:10:30 +01:00
Marco Castelluccio
5110e03909
Return early in nokia.messaging localmsg server if there's no reply to send
2014-11-01 13:53:36 +01:00
Marco Castelluccio
84211e51e2
WIP handling of file ui dialog events
2014-11-01 13:52:31 +01:00
Myk Melez
2f408d6a4f
awaken text editor thread if there are dirty editors when sleep() called
2014-10-31 15:57:13 -07:00
Marco Castelluccio
996ac7493d
WIP implementation of nokia.file-ui localmsg server
2014-10-31 11:30:09 +01:00
Marco
ac73d1c7d4
Merge pull request #505 from mykmelez/text-editor-focus
...
preserve focus/visibility state of text editor (fixes #318 )
2014-10-29 11:59:09 +01:00
Marco Castelluccio
f6ff81b02b
Add missing ctx parameter in EventQueue.sendShutdownEvent
2014-10-28 23:40:12 +01:00
Myk Melez
1d1155fac2
preserve focus/visibility state
2014-10-28 14:14:27 -07: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
Marco
958c91dc34
Merge pull request #494 from PinZhang/pzhang/write-on-closed-socket
...
Allow reading if there is data left in the buffer event socket is closed
2014-10-24 19:09:57 +02:00
Pin Zhang
a52cbb08df
Allow reading if there is data left in the buffer event socket is closed
...
Also fixed the bug when writing to a closed socket.
2014-10-25 00:13:48 +08:00
Marco
2ad072dfd3
Merge pull request #480 from yxl/master
...
Implement methods to draw elliptical arc.
2014-10-24 16:39:32 +02:00
Marco
4caf16cdfd
Merge pull request #479 from mykmelez/test-ssl-stream-connection
...
test ssl stream connection (fixes #189 )
2014-10-24 09:33:35 +02:00
Eric Rahm
11086d80b5
Directly map field IDs to localized values
...
This change makes every localization lookup a simple map retrieval rather
than iterating the entire fields array each time.
2014-10-23 12:26:26 -07:00
Marco
9415e4df2c
Merge pull request #482 from PinZhang/pzhang/platform-request
...
Implement CldcPlatformRequest.dispatchPlatformRequest
2014-10-23 08:40:24 +02:00
Yuan Xulei
f5b4c22264
Implement methods to draw elliptial arc with tests.
2014-10-23 10:50:54 +08:00
Myk Melez
054d683ced
clean up logging and error reporting
2014-10-22 16:32:32 -07:00
Myk Melez
e465f9d565
only use test cert when running tests
2014-10-22 12:13:19 -07:00
Myk Melez
418a03694e
Merge branch 'master' into test-ssl-stream-connection
2014-10-22 11:04:02 -07:00
Marco
38bbbef15f
Merge pull request #481 from PinZhang/pzhang/mising-isolateid
...
Fix MIDP.nativeEventQueues[isolateId] undefined error
2014-10-22 11:36:57 +02:00
Pin Zhang
368ad99305
Implement CldcPlatformRequest.dispatchPlatformRequest.(Ljava/lang/String;)Z
2014-10-22 16:25:25 +08:00
Pin Zhang
77771e6a0c
Fix MIDP.nativeEventQueues[isolateId] undefined error when shutdown isolate
2014-10-22 15:55:29 +08:00
Pin Zhang
2744a68ee0
Fix recordStore cleanup bug
2014-10-22 09:45:23 +08:00
Myk Melez
5915d0510f
work-in-progress impl of SSL stream test
2014-10-21 17:02:04 -07:00
Marco Castelluccio
4e990a3e37
Replace _this with this in Font.charsWidth and Font.substringWidth
2014-10-21 15:14:52 +02:00
Myk Melez
dede680750
Merge pull request #467 from marco-c/fix_test_arithmetic
...
Fix TestArithmetic
2014-10-17 15:19:25 -07:00
Marco Castelluccio
e116f40d61
Fix TextEditor (it passed with the check that was converting ints to longs, we should figure out why)
2014-10-17 12:15:41 -07:00
Marco Castelluccio
3d3364154a
Temp fix for socket tests
2014-10-17 01:16:13 -07:00
Marco Castelluccio
aa0dd634ce
Add missing binds
2014-10-16 23:47:09 -07:00
Marco Castelluccio
5270a577a8
Port other natives to Native.create
2014-10-16 20:08:51 -07:00
Marco Castelluccio
b910b87bdf
Use Native.create for async natives
2014-10-16 15:04:31 -07:00
Marco Castelluccio
4da7d6755d
Port other midp/socket.js natives to Native.create
2014-10-16 10:42:53 -07:00
Marco Castelluccio
4f7f79d985
Merge branch 'master' of https://github.com/andreasgal/j2me.js into port_other_natives
...
Conflicts:
tests/native.js
2014-10-16 10:34:45 -07:00
Marco Castelluccio
b9e42a0abe
Port other natives to use Native.create
2014-10-15 19:48:17 -07:00
Marco Castelluccio
d12d7702e3
Merge branch 'master' of https://github.com/andreasgal/j2me.js into port_other_natives
2014-10-15 16:38:38 -07:00
Myk Melez
3926f02369
only send to the parent the data being sent to the TCP socket
2014-10-15 15:04:50 -07:00
Marco Castelluccio
6e05b8262e
Port a few other natives in midp/midp.js to Native.create
2014-10-15 14:11:30 -07:00
Marco Castelluccio
a4f7399cc5
Fix getSockOpt0 native (it should use this instead of _this)
2014-10-15 11:45:59 -07:00
Marco Castelluccio
d31622cdaf
Port some midp/midp.js natives to Native.create
2014-10-15 11:44:58 -07:00
Myk Melez
7e76d45fae
Merge branch 'master' into allow-scripts
...
Conflicts:
native.js
tests/automation.js
2014-10-15 01:28:01 -07:00
Myk Melez
3a737e934b
Merge pull request #448 from marco-c/automatic_static
...
Remove opts parameter from Override.create/Native.create and use the Met...
2014-10-15 01:15:37 -07:00
Myk Melez
d6dfc59cca
close pipes after we're done using them
2014-10-15 01:12:15 -07:00
Myk Melez
056beb7e65
improve terminology
2014-10-15 00:10:59 -07:00
Myk Melez
669aac8ed7
no need to wrap pipe call in another timeout
2014-10-14 23:11:17 -07:00
Myk Melez
322253888c
simplify message handler
2014-10-14 23:09:35 -07:00
Myk Melez
643bc5821a
Merge branch 'master' into allow-scripts
...
Conflicts:
midp/socket.js
tests/automation.js
2014-10-14 22:38:28 -07:00
Pin Zhang
58ade9022a
Implements localmsg://nokia.phone-status
2014-10-15 09:14:40 +08: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
fe632fa95c
Return boolean values in two functions that are supposed to return boolean values
2014-10-14 15:53:04 -07:00
Marco Castelluccio
bc5926941a
Port some midp/midp.js natives to Native.create
2014-10-14 15:49:08 -07:00
Marco Castelluccio
1dfb9a0b78
Port midp/localmsg.js natives to Native.create
2014-10-14 15:45:53 -07:00
Marco Castelluccio
5ad8efa3ef
Port other midp/gfx.js natives to Native.create
2014-10-14 15:45:40 -07:00
Marco Castelluccio
7d3e82a59b
Port some gfx natives to Native.create
2014-10-14 14:52:03 -07:00
Marco Castelluccio
0621b9f5c4
Misc porting of natives to Native.create
2014-10-14 14:51:40 -07:00
Myk Melez
b2a623c71a
avoid copying data unnecessarily
2014-10-14 14:46:47 -07:00
Marco Castelluccio
8e21a2d6af
Port midp/frameanimator.js to Native.create
2014-10-14 13:40:38 -07:00
Marco Castelluccio
be9ed475d1
Port midp/crypto.js natives to Native.create
2014-10-14 13:35:51 -07:00
Marco Castelluccio
6181b610e4
Port midp/codec.js natives to Native.create
2014-10-14 13:29:45 -07:00
Myk Melez
dd8ab00d11
restart Protocol.write0 thread immediately on socket send
2014-10-14 13:23:02 -07:00
Myk Melez
a1df1489d0
test for socket.isClosed correctly in read0
2014-10-13 15:33:07 -07:00
Myk Melez
df7e614d9f
use mozbrowser to enable privileges, local loading, and code evaluation
2014-10-12 22:36:22 -07:00
Marco
e622651d35
Merge pull request #419 from marco-c/add_missing_stack_pop_in_loadAndCreateImmutableImageDataFromCache0
...
Add missing stack.pop() in loadAndCreateImmutableImageDataFromCache0
2014-10-09 10:22:55 -07:00
Marco Castelluccio
2b9c11552b
Add missing stack.pop() in loadAndCreateImmutableImageDataFromCache0
2014-10-09 10:02:12 -07:00
Marco Castelluccio
f6381e7cd5
Add missing stack.pop() in deleteFileImpl
2014-10-09 09:33:24 -07:00
Marco
65cd162631
Merge pull request #390 from brendandahl/registry
...
Use notifications for connection registry instead of polling.
2014-10-03 12:42:16 -07:00
Myk Melez
a760968dd3
override CGraphicsUtil.draw9pcsBackground with native impl
2014-10-03 02:02:06 -07:00
Brendan Dahl
e2aa6e5e5c
Use notifications for connection registry instead of polling.
2014-10-02 14:51:59 -07:00
Marco Castelluccio
8ce3e27a7d
Throw exception if rename fails
2014-10-01 17:19:33 -07:00
Marco Castelluccio
075ad50136
Close file after truncating it
2014-10-01 17:05:13 -07:00
Myk Melez
085896ec5d
Merge pull request #369 from marco-c/optimize_LocalizedStringsBase
...
Don't parse localized strings multiple times
2014-09-30 17:44:51 -07:00
Marco Castelluccio
c304441fa2
Make MIDP.localizedStrings a Map
2014-09-30 17:33:42 -07:00
Marco Castelluccio
ee6c1d0478
Don't cache assets/0/en-US.xml file
2014-09-30 11:46:31 -07:00
Marco Castelluccio
1774e1649b
Don't parse localized strings multiple times
2014-09-30 11:41:08 -07:00
Brendan Dahl
8385651ce0
Various fixes for chrome.
2014-09-30 09:17:16 -07:00
Myk Melez
d782fd9700
return -1 early when Protocol.read0 called on closed socket
2014-09-29 16:44:27 -07:00
Myk Melez
5b33e8f953
create files correctly; truncate files that exist but are empty
2014-09-27 01:30:24 -07:00
Marco Castelluccio
f7624bd5f4
Fix last instance in midp/gfx.js
2014-09-26 11:48:26 -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
Myk Melez
2f1c44ad73
override drawRegion to do renderRegion's work itself
2014-09-25 11:21:48 -07:00
Marco Castelluccio
5150e7a75f
Add missing semicolon
2014-09-23 15:17:37 -07:00
Marco Castelluccio
b831401e0e
Move the loop that sets the pixels from Java to a JS native. Fixes #315 .
2014-09-23 11:22:11 -07:00
Myk Melez
593604eb01
Merge pull request #311 from marco-c/fix_286
...
Add trailing slash to directory name in listImpl
2014-09-22 17:14:31 -07:00
Myk Melez
c1ccee97e4
Merge pull request #298 from mcav/sms-listener
...
Prompt the user when the app requests SMS messages.
2014-09-22 16:45:01 -07:00
Marco Castelluccio
cc6a10df1e
Add trailing slash to directory name in listImpl. Fixes #286 .
2014-09-22 16:16:44 -07:00
Marcus Cavanaugh
d1f8f5563b
Resize SMS prompt for debug mode; fix nits.
2014-09-22 15:03:27 -07:00
Marcus Cavanaugh
d8eae34632
Fix automated test now that the old SMS interface was removed.
2014-09-22 10:45:39 -07:00
Marco Castelluccio
b0bd119390
Use stat instead of list in isDirectoryImpl
2014-09-22 09:26:35 -07:00
Marcus Cavanaugh
1149331094
Fix sizing; remove input_areas.css; move style.css into style/; remove old SMS-receiving interface.
2014-09-22 08:29:21 -07:00
Marco Castelluccio
11d5a9db56
Merge branch 'master' of https://github.com/andreasgal/j2me.js into contacts
...
Conflicts:
midp/localmsg.js
tests/automation.js
2014-09-19 16:43:21 -07:00
Marco Castelluccio
18ea66b704
Add nokia.file-ui server to the list of unimplemented Nokia-specific localmsg servers
2014-09-19 16:41:04 -07:00
Brendan Dahl
eb9197dd31
Update the RGB color and gray color when setting ARGB.
2014-09-19 16:04:57 -07:00
Marcus Cavanaugh
665431f21c
Prompt the user when the app requests SMS messages.
2014-09-19 15:49:57 -07:00
Myk Melez
27a69516e3
Merge pull request #291 from mcav/resize-for-phone
...
Resize canvas to fill screen on mobile-sized devices.
2014-09-19 14:06:10 -07:00
Marco Castelluccio
ef08577ec3
Remove nokia.contacts from the unimplemented localmsg server list
2014-09-19 11:43:21 -07:00
Marcus Cavanaugh
77fbde25f8
Resize canvas to fill screen on mobile-sized devices.
2014-09-19 11:42:28 -07:00
Marco Castelluccio
f7fed950cc
Log the client message if the server doesn't support the specified event type
2014-09-19 11:35:12 -07:00
Marco Castelluccio
ff7e804947
Send a "Notify" message for each contact
2014-09-19 11:30:35 -07:00
Marco Castelluccio
f7b153d206
Merge branch 'master' of https://github.com/andreasgal/j2me.js into contacts
2014-09-19 10:13:44 -07:00
Marco Castelluccio
4e43eb304f
Merge branch 'master' into contacts
2014-09-18 18:19:27 -07:00
Marco Castelluccio
135ec38618
Merge branch 'master' of https://github.com/andreasgal/j2me.js into more_gfx_tests
2014-09-18 13:29:34 -07:00
Marco Castelluccio
6eb38bf8f8
getImageData starting from specific x and y
2014-09-18 11:15:56 -07:00
Marco Castelluccio
0b9fa95465
Take x, y, width, height into account in contextToRgbData
2014-09-18 10:31:28 -07:00
Marco Castelluccio
0ebb654f83
Merge branch 'master' of https://github.com/andreasgal/j2me.js into contacts
2014-09-17 18:07:16 -07:00
Marco Castelluccio
40924ece9e
listImpl shouldn't return the path of the files, but just their names
2014-09-17 18:02:03 -07:00
Marco Castelluccio
c9c860b27d
Remove globalCompositeOperation hack
2014-09-17 16:13:54 -07:00
Marcus Cavanaugh
a16e85e77e
[gfx] Point nativeImageData at the Context2D rather than the Canvas.
2014-09-17 11:31:40 -07:00
Myk Melez
a17d7ed347
make lastModified return 0 if file doesn't exist
2014-09-17 00:17:53 -07:00
Myk Melez
fbd264bd2d
Merge branch 'master' into lastModifiedImpl
2014-09-16 23:41:12 -07:00
Myk Melez
1d43f1428c
Merge pull request #275 from marco-c/fix_listImpl
...
Fix listImpl
2014-09-16 23:40:47 -07:00
Myk Melez
d0d587b400
Merge branch 'master' into lastModifiedImpl
...
Conflicts:
tests/automation.js
2014-09-16 22:51:03 -07:00
Marco Castelluccio
df01cce073
Small cleanup
2014-09-16 18:31:40 -07:00
Marco Castelluccio
2848cf50d7
Don't return the first "/" character in listImpl
2014-09-16 18:29:16 -07:00
Marco Castelluccio
2e244817f5
Properly support error conditions in the DataDecoder class
2014-09-16 18:02:18 -07:00
Marco Castelluccio
e6d8a32ed9
Add the minimum amount of info to get a contact to show up in the contact list
2014-09-16 17:07:45 -07:00
Myk Melez
6d6b2784ce
implement Connection.lastModifiedImpl
2014-09-16 16:40:34 -07:00
Marco Castelluccio
4fbde608fb
Merge branch 'datadecoder_listhasmoreitems' into contacts
2014-09-16 15:43:56 -07:00
Marco Castelluccio
24dd3e4590
Implement DataDecoder::listHasMoreItems
2014-09-16 15:33:50 -07:00
Marco Castelluccio
08fc5e8bcf
WIP implementation for the nokia.contacts server
2014-09-16 15:33:11 -07:00
Marco Castelluccio
fbdcfdadb4
Merge branch 'master' of https://github.com/andreasgal/j2me.js into gfx_tests
2014-09-16 10:47:14 -07:00
Marco Castelluccio
ba75a07e76
Precisely specify the font to use as system font
2014-09-16 09:17:42 -07:00
Myk Melez
6088360acd
move CanvasItem methods from TextEditor to CanvasItem
2014-09-16 01:02:21 -07:00
Myk Melez
64ea374234
partly implement setCaret
2014-09-16 00:31:03 -07:00
Myk Melez
b177dc08e0
implement CanvasItem.getPositionX/Y; move .setPosition to CanvasItem
2014-09-16 00:06:58 -07:00
Myk Melez
2ea20bb03c
move display back to right side of screen
2014-09-15 23:57:30 -07:00
Myk Melez
aade07657a
implement get/setBackground/ForegroundColor
2014-09-15 21:52:07 -07:00
Myk Melez
08c632c13f
implement TextEditor.setPosition; move canvas to top-left corner
2014-09-15 16:19:03 -07:00
Myk Melez
d939e21f4f
truncate content when setting maxSize
2014-09-15 15:23:34 -07:00
Myk Melez
25c008fa82
implement TextEditor constructor's text attribute
2014-09-15 15:09:52 -07:00
Myk Melez
bb8f4d5890
warn and test that constraints aren't implemented
2014-09-15 14:49:07 -07:00
Myk Melez
ba03e4c93e
implement maxSize/getMaxSize/setMaxSize
2014-09-15 14:34:25 -07:00
Myk Melez
af8bde28c2
set the native text editor widget size
2014-09-15 14:10:36 -07:00
Myk Melez
4076961fe6
move isVisible from TextEditor to CanvasItem; test setVisible/isVisible
2014-09-15 10:29:10 -07:00
Marco
6916cbcc81
Merge pull request #263 from mykmelez/texteditor-plus
...
implement getCaretPosition
2014-09-15 09:52:33 -07:00
Myk Melez
2ed224f767
implement getCaretPosition
2014-09-15 09:48:25 -07:00
Marco Castelluccio
c0a077a62a
Reverse x and y parameters in drawPixels
2014-09-15 09:29:47 -07:00
Marco Castelluccio
67a7dbf397
Merge branch 'master' of https://github.com/andreasgal/j2me.js into directgraphicsimp_getPixels_drawPixels
2014-09-15 09:27:56 -07:00
Marco Castelluccio
f4505773ca
Add message to NullPointerException exceptions in getPixels and drawPixels
2014-09-15 09:27:27 -07:00
Marco Castelluccio
fc6e6bf418
Cleanup
2014-09-15 08:56:50 -07:00
Marco Castelluccio
5ea34a7620
Refactor code to convert native image data
2014-09-15 08:48:30 -07:00
Marco Castelluccio
586733662c
Implement DirectGraphicsImp::drawPixels
2014-09-15 08:42:10 -07:00
Marco Castelluccio
967f4ed575
Implement DirectGraphicsImp::getPixels
2014-09-15 08:38:50 -07:00
Myk Melez
af40299f26
call TextEditor natives directly
2014-09-15 08:38:02 -07:00
Marco Castelluccio
ab803dd616
Use createTexture when possible
2014-09-15 08:32:28 -07:00
Marco Castelluccio
554d8762c6
Refactor textureFrom* textureTo* functions
2014-09-15 08:30:18 -07:00
Myk Melez
7bc6a95a71
implement setParent entirely in Java
2014-09-15 08:25:21 -07:00
Myk Melez
cd7184734d
Merge branch 'master' into texteditor-misc
2014-09-15 08:16:33 -07:00
Myk Melez
b4b1b5e6f8
implement TextEditor.delete
2014-09-15 00:24:34 -07:00
Myk Melez
dd4b226742
raise exception on error decoding image
2014-09-15 00:08:06 -07:00
Myk Melez
c1ec2ae636
warn instead of throwing exception when Graphics.render missing native image data
2014-09-14 23:23:20 -07:00
Myk Melez
2e30350b2b
store native image data as JS property
2014-09-14 23:22:23 -07:00
Myk Melez
b12493a3c0
Merge branch 'master' into texteditor-misc
2014-09-14 22:28:25 -07:00
Myk Melez
440948e071
Merge pull request #257 from marco-c/implement_DirectUtils_createImage
...
Implement DirectUtils::createImage(byte[],int,int)
2014-09-12 15:55:15 -07:00
Marco Castelluccio
675a1d0646
Implement DirectUtils::createImage(byte[],int,int)
2014-09-12 15:48:45 -07:00
Marco Castelluccio
89f0cd5fc6
Don't copy the typed array data if unnecessary
2014-09-12 13:51:39 -07:00
Marco Castelluccio
b47963d427
Merge branch 'master' of https://github.com/andreasgal/j2me.js into testinputoutputstorage_with_fileconnection
...
Conflicts:
tests/automation.js
2014-09-12 10:45:34 -07:00
Marco Castelluccio
17143738c0
Add reference to the source of the regular expression
2014-09-12 10:37:33 -07:00
Marco Castelluccio
2474fe7586
Don't explicitely truncate the value
2014-09-12 10:29:41 -07:00
Marco Castelluccio
0125d072c3
Merge branch 'master' of https://github.com/andreasgal/j2me.js into testinputoutputstorage_with_fileconnection
...
Conflicts:
tests/automation.js
2014-09-12 10:28:41 -07:00
Marco Castelluccio
60abfb0c5e
Merge branch 'master' of https://github.com/andreasgal/j2me.js into improve_listImpl
...
Conflicts:
tests/automation.js
2014-09-12 10:23:36 -07:00
Myk Melez
55ae6f2f2b
Merge pull request #249 from marco-c/check_already_closed
...
Check if a file is already closed before closing it again
2014-09-11 23:11:02 -07:00
Myk Melez
a450737fee
Merge pull request #248 from marco-c/put_boolean_codec
...
Support boolean values in DataEncoder and DataDecoder
2014-09-11 23:09:13 -07:00
Marco Castelluccio
2aa7ae4678
Add some missing natives
2014-09-11 18:18:22 -07:00
Marco Castelluccio
b36fed2f75
Check if the file is already closed before closing it
2014-09-11 17:58:29 -07:00
Marco Castelluccio
4da71d84eb
Implement getBoolean native
2014-09-11 16:31:33 -07:00
Marco Castelluccio
6fe0ae7292
Implement DataEncoder::put native (with boolean value)
2014-09-11 16:21:39 -07:00
Marco Castelluccio
3740c7b588
Fix listImpl when the filter doesn't start with *.
2014-09-11 15:40:31 -07:00
Marco Castelluccio
6b0b2f16ef
Correctly convert int to byte in writeByteImpl
2014-09-11 12:35:07 -07:00
Marco Castelluccio
fef46936cf
Use buffer.set instead of for loop
2014-09-11 10:45:27 -07:00
Marco Castelluccio
de50ded5ec
Merge branch 'master' of https://github.com/andreasgal/j2me.js into readImpl
...
Conflicts:
midp/fs.js
tests/automation.js
tests/com/ibm/oti/connection/file/TestFileConnection.java
2014-09-11 10:40:06 -07:00
Myk Melez
579f646cdb
add FCInputStream.available and .skip tests, and fix bug they uncover
2014-09-11 10:26:06 -07:00
Marco Castelluccio
8cc0647cb0
Fix indentation
2014-09-11 10:12:29 -07:00
Marco Castelluccio
479a7304e6
Implement readImpl
2014-09-11 10:10:49 -07:00
Marco Castelluccio
1faf2705aa
Nicer toNumber and fromNumber
2014-09-10 17:51:08 -07:00
Marco Castelluccio
17f7f99526
Add Long.fromNumber and toNumber
2014-09-10 17:48:33 -07:00