c97b16b8bc
implement a few classpath methods required by SWT for Mac OS X
2007-10-29 15:23:13 -06:00
bcd2c75f41
Implements String.delete(char oldChar, String newChar), StringBuffer and
...
StringBuilder delete(int startIndex, int endIndex), and
replace (int startIndex, int endIndex, String replacementString)
2007-10-29 15:07:36 -06:00
78ee14fff5
Merge branch 'master' of dice:git/vm
2007-10-29 14:57:40 -06:00
75d4a4ff96
implement a few classpath methods required by SWT for Win32
2007-10-29 14:57:33 -06:00
8e95590dea
Added a temporary hack for logging.
...
if the System property rt.log.dir is set, standard logging messages are
written both to standard out and to the file log.txt inside the directory
provided. This allows us to get debugging information quickly.
2007-10-29 12:04:26 -06:00
09cedfd7cb
make Boolean, Byte, Short, etc. implement Comparable
2007-10-28 18:51:08 -06:00
4b92017ea9
fix several win32 bugs in SocketSelector
2007-10-26 18:04:55 -06:00
e892f1bff5
refactor System.getProperty() to reduce coupling with native code
2007-10-26 12:13:21 -06:00
25275933ce
Print line numbers correctly for native and unknown source
2007-10-25 17:57:56 -06:00
a81b77a37e
fixes i2f i2d implementation. Fixes image drawing bugs on Mac OS X.
...
Also fixes a crash caused by implementing StringBuffer.toString(float)
2007-10-25 14:26:51 -06:00
b12b779c7f
add support for passing properties to the VM via JNI; use vm.builtins property to specify builtin libraries
2007-10-25 12:33:43 -06:00
5bfd90cfed
more system-specific tweaks for windows port
2007-10-24 10:24:02 -06:00
52bc20ace2
Optimized calendar implementation. Year can now be computed with arithmetic,
...
not a loop to find the current year.
2007-10-22 15:53:46 -06:00
7eb08c5fc4
If a Calendar changes values, update the (cached) fields.
2007-10-22 12:23:56 -06:00
8902cf2a73
Added a working implementation of calendar that fills in the important
...
fields (year, month, day, hour, minute, second) for the Gregorian calendar.
Specifically, it fills in YEAR, MONTH, DAY_OF_MONTH, HOUR_OF_DAY, MINUTE,
and SECOND.
2007-10-22 12:03:15 -06:00
f84b865f03
implement TreeSet.toString()
2007-10-16 19:17:37 -06:00
6be84b4653
Adds some missing methods to TreeSet, which really ought to be an instance of Collection
2007-10-16 12:14:03 -06:00
91ffeb6aed
Signature of removeElementAt() was not correct, fixes exception in SWT
2007-10-15 14:06:06 -06:00
64313aa243
fix return value of HashMap.put()
2007-10-13 15:46:20 -06:00
79ad3bdb76
Exception thrown by ByteBuffer
2007-10-11 17:04:45 -06:00
15d1fe8b75
Fix hashmap insertion bug (entire bucket was getting erased in some put() operations)
2007-10-11 17:03:51 -06:00
32946417b7
Fixed subtle bug in getLong()
2007-10-11 16:42:33 -06:00
9d3027540b
Add meaningful toString() methods
2007-10-11 16:41:07 -06:00
00cfa587bc
Various bug fixes and optimizations
2007-10-11 15:41:23 -06:00
75c51bb5ec
Added user.home system property
2007-10-11 15:39:21 -06:00
db2b7e8fa7
Semantics of getChars was incorrect. It should specify a begin
...
and end index, not a bunch of lengths
2007-10-11 10:00:35 -06:00
e831a41e90
Implemented ByteBuffer.clear()
2007-10-11 09:59:52 -06:00
9368dd2acc
Fix another off-by-one error when EOS is hit on the socket
2007-10-07 11:35:48 -06:00
35a96a0d36
Fix an off-by-one error when EOS is hit on the socket
2007-10-07 09:53:07 -06:00
19b6e11cbc
Make sure to report EOF when reading from a socket channel
2007-10-05 15:51:06 -06:00
98269286e5
Implemented a basic NIO socket channel interface. Non-blocking socket channels
...
and server socket channels are implemented. This version works but only when
libnative is linked with g++ (because of C++ object creation code that fails
without this linking)
2007-10-05 15:32:56 -06:00
e32a335079
Merge branch 'master' of dice:git/vm
...
Conflicts:
src/cdecl.S
2007-10-04 17:17:57 -06:00
404d996c1e
snapshot
2007-10-03 18:41:54 -06:00
7bc85a1247
Implemented printing of doubles using snprintf
2007-10-02 09:23:49 -06:00
243d62a952
non-working implementation of float and double.toString()
2007-10-02 08:58:35 -06:00
8ae36c05b7
lots of new instructions and bugfixes
2007-09-29 20:48:27 -06:00
da6dd8fba3
Fix ByteBuffer bugs
2007-09-28 13:18:28 -06:00
bcd5f5b94b
Fixed bulk put offset for sliced arrays
2007-09-28 12:19:13 -06:00
cc8dd6d8c0
Implemented ByteBuffer.flip()
2007-09-28 12:18:01 -06:00
b4afc538d4
(Hopefully correct) implementation of ByteBuffer
2007-09-28 12:16:25 -06:00
43a2cb7cc5
Tie up some loose ends, implementing methods that are useful but not yet implemented.
2007-09-28 11:38:58 -06:00
5691ec87f0
Added a proper implementation of TreeSet, based on a Persistent set implementation.
2007-09-28 11:01:57 -06:00
8a4d3effe0
Make String.compare() match the Java specification
2007-09-28 11:00:31 -06:00
3fb90d4c3a
Added minimalist TreeSet implementation, as well as Test classes for trees
...
and lists.
2007-09-27 16:23:05 -06:00
0efc498837
Another place where printing null should be permitted
2007-09-27 15:21:39 -06:00
2ae6aa7ddf
Fix System.arraycopy when the source and dest are the same
2007-09-27 15:06:56 -06:00
101b0c3b0e
Support printing of null references
2007-09-27 15:05:55 -06:00
9621679d2a
Cosmetic tweaks to the default logger
2007-09-27 12:43:20 -06:00
26de9c334d
Add a default logging handler, in case the user doesn't provide any.
2007-09-27 12:42:06 -06:00
554dd76495
Merge branch 'master' of dice:git/vm
2007-09-26 17:23:14 -06:00