Commit Graph

258 Commits

Author SHA1 Message Date
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
8c248e382f Added methods to get and set properties, and stub method to save them 2007-09-26 09:48:21 -06:00
876b02f641 Added method addAll to interface Map 2007-09-26 09:19:21 -06:00
b02b98609e Added methods isEmpty(), putAll(), toArray() to interfaces List and Map 2007-09-26 08:57:34 -06:00
2e813cff18 Added Calendar.setTime(), even though it does not work 2007-09-26 08:43:01 -06:00
86999df5f2 factor Properties and PropertieResourceBundle out of ResourceBundle 2007-09-17 16:16:57 -06:00
923c4661e8 implement Inflater and InflaterInputStream 2007-09-17 16:15:16 -06:00
4ade402f1b bugfixes; SWT ControlExample works on x86_32 2007-09-14 14:35:37 -06:00
bb520e4ef9 bugfixes 2007-09-13 21:59:39 -06:00
7cb3a30a91 sketch of Runtime.exec() and Calendar; misc bugfixes 2007-09-12 18:21:37 -06:00
182414c6e0 sketch out ResourceBundle 2007-09-11 20:56:02 -06:00
cb03240c64 quick sketches of various SWT 3.3 dependencies 2007-09-11 19:13:05 -06:00
a4b4f36c5b various classpath updates to help SWT build 2007-08-30 17:31:32 -06:00
d1dbb45d55 implement Arrays.toString() 2007-08-23 19:57:42 -06:00
8377016b0f StringTokenizer bugfixes 2007-08-23 18:21:56 -06:00
f907d9e08f implement StringTokenizer 2007-08-22 21:22:16 -06:00
3526fbfcb7 initial sketch of java/util/StringTokenizer 2007-08-22 20:25:08 -06:00
84028e7f51 fix reversed logic in LinkedList.addFirst()/addLast() 2007-08-21 22:01:37 -06:00
a68505ff48 implement Hashtable.toString() (defer to HashMap) 2007-08-21 22:00:46 -06:00
27c8511c5e bugfixes 2007-08-20 18:24:54 -06:00
f22dda0df1 bugfixes 2007-08-14 19:14:55 -06:00
d0e519d992 bugfixes 2007-08-13 19:44:47 -06:00
ab3ca38580 various bugfixes 2007-08-13 18:37:00 -06:00
c20219df19 flesh out serialization/deserialization code and fix build 2007-08-12 18:50:25 -06:00