af794d9be0
implement Date.toString, which just defers to ctime for now (part 2)
2008-06-16 11:45:23 -06:00
14e2513590
fix some API compatibility issues in the class library
2008-05-07 17:44:43 -06:00
7dd9b96717
add additional methods and fields to class library
2008-03-20 18:40:18 -06:00
8e1ec5794f
implement java.util.Random and java.lang.Math.random in Java
2008-03-20 18:39:25 -06:00
3e7acd7861
fix backwards logic in Collections.toArray
2008-03-05 14:21:53 -07:00
51a731847a
java.util code cleanup
2008-02-28 15:18:46 -07:00
35d4d19c07
Merge branch 'master' of oss:/var/local/git/avian
2008-02-28 11:37:14 -07:00
9d76d6a04e
implement a few more classpath methods, including Collection.addAll and Collection.toArray
2008-02-28 11:37:10 -07:00
e23f2bafd5
Implemented trivial impolementation of java.util.Random.nextDouble()
2008-02-28 11:02:58 -07:00
73e7bfc1dc
Added constructor for java.util.HashMap
2008-02-28 08:33:52 -07:00
eaa8d5c64b
Trivial implementation of java.util.Random.nextInt(int n)
2008-02-26 09:37:46 -07:00
2edaa82801
prepend copyright notice and license to all source files; add license.txt and readme.txt
2008-02-19 11:06:52 -07:00
707359d555
remove redundant synchronization from Collections.SynchronizedCollection
2008-01-28 08:10:23 -07:00
6926ca6778
Added parsing of new line characters in properties files.
2008-01-23 16:39:45 -07:00
8b2577b77c
Add method to create one hashtable from a map, useful in converting a
...
HashMap into a Hashtable.
2007-12-18 11:23:59 -07:00
7224c98766
Trivial implementation of java.util.Random
2007-12-17 15:43:51 -07:00
ec653fbc1e
Use the default line separator when logging
2007-12-11 10:26:28 -07:00
9f5c2f4122
implement Arrays.sort
2007-12-03 16:32:54 -07:00
4f047ded8c
make ArrayList.set() do bounds checking
2007-11-15 11:53:33 -07:00
69f1024887
add missing classpath methods
2007-11-14 09:32:36 -07:00
7b8fb7233e
add PersistentSet.toString(), fix a bug when removing the last element, and add a couple sanity checks
2007-11-09 08:08:35 -07:00
fef3cddb9e
fix build breakage due to missing isEmpty() methods
2007-11-07 09:48:09 -07:00
4611c89dbe
add a few classpath methods
2007-11-06 17:41:53 -07:00
76d876c039
Removed custom logging code, which is factored correctly elsewhere.
2007-11-06 11:20:12 -07:00
c97b16b8bc
implement a few classpath methods required by SWT for Mac OS X
2007-10-29 15:23:13 -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
25275933ce
Print line numbers correctly for native and unknown source
2007-10-25 17:57:56 -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
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
15d1fe8b75
Fix hashmap insertion bug (entire bucket was getting erased in some put() operations)
2007-10-11 17:03:51 -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
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
3fb90d4c3a
Added minimalist TreeSet implementation, as well as Test classes for trees
...
and lists.
2007-09-27 16:23:05 -06:00
2ae6aa7ddf
Fix System.arraycopy when the source and dest are the same
2007-09-27 15:06:56 -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
bb4a7c21c7
Implemented a simple but working implementation of the java logging API,
...
complete with a test class
2007-09-26 14:46:21 -06:00
c174ce34b6
Added several useful classes
2007-09-26 11:27:09 -06:00
4d3fd38d54
List now implements various forms of add()
2007-09-26 10:32:39 -06:00
0f926f8f0b
Added ArrayList.set
2007-09-26 10:02:58 -06:00
7d67d09b1a
Added inflate method and stub method for reset()
2007-09-26 09:53:30 -06:00
0beba6cafa
ArrayList now implements ListIterator (for reverse traversals of lists)
2007-09-26 09:48:59 -06:00