Commit Graph

250 Commits

Author SHA1 Message Date
7dbd4903f0 set default locale to en, us 2008-10-09 18:30:24 -06:00
aeafb52bcb add ZipFile(File) constructor and ZipFile.close 2008-10-06 17:30:48 -06:00
ae75be5683 add copyright headers 2008-10-03 14:57:40 -06:00
2684b7c024 remove debug logging 2008-10-03 14:26:23 -06:00
4c307ae8c6 implement minimal, read-only versions of RandomAccessFile and ZipFile 2008-10-03 14:15:47 -06:00
025cf59bb6 Vector.setElementAt should return void 2008-09-26 18:16:35 -06:00
066714933c implement Random.nextBytes and Random.nextLong 2008-09-26 15:30:08 -06:00
93a96f3833 fix backwards logic in Stack.empty 2008-09-26 08:10:16 -06:00
9017b5996a implement HashSet.toString 2008-08-22 14:02:38 -06:00
a677a2da17 fix class cast exception in TreeSet ctor 2008-07-17 15:46:54 -06:00
244393430d Merge branch 'master' of git://oss.readytalk.com/avian 2008-07-16 11:26:29 -06:00
2d1ec11edc Added no arg constructor to support Comparable types. 2008-07-14 08:45:51 -06:00
4fed24270b add skeleton java.util.regex classes 2008-07-13 20:33:51 -06:00
d28a860138 add Arrays.fill 2008-07-13 18:28:27 -06:00
6409747f17 add Properties.getProperty(String,String) 2008-07-13 18:27:42 -06:00
975c2c12a8 add license header to BitSet.java 2008-07-13 18:25:26 -06:00
e1d712ef71 java.util.BitSet implementation 2008-07-13 18:16:55 -06:00
bba4f75c2f Tweaked code indentation and formatting to match existing style 2008-07-03 10:49:08 -06:00
e3fd0d9c7d add a few classes and methods to the classpath
Add java.lang.CharSequence, java.util.AbstractSet,
java.util.AbstractCollection, Collections.unmodifiableSet,
 System.getProperty(String,String), etc.
2008-07-03 09:16:32 -06:00
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