Commit Graph

912 Commits

Author SHA1 Message Date
Joel Dice
9d76d6a04e implement a few more classpath methods, including Collection.addAll and Collection.toArray 2008-02-28 11:37:10 -07:00
Eric Scharff
e23f2bafd5 Implemented trivial impolementation of java.util.Random.nextDouble() 2008-02-28 11:02:58 -07:00
Eric Scharff
11d218f956 Slight fix for improved type safety 2008-02-28 10:03:24 -07:00
Eric Scharff
0d5b7bd126 Support for floating point conversions and tests
Floats and doubles can now be read from strings, using the C standard library
functions for this purpose (strtof and strtod).  The code also relies on
standard library functions to implement isNaN() and isInfinite()
2008-02-28 08:35:16 -07:00
Eric Scharff
73e7bfc1dc Added constructor for java.util.HashMap 2008-02-28 08:33:52 -07:00
Joel Dice
3317149cd2 Merge branch 'master' into compiler
Conflicts:

	src/x86.cpp
2008-02-26 17:56:35 -07:00
Joel Dice
c810eb36d8 Merge branch 'master' of oss:/var/local/git/avian 2008-02-26 17:19:18 -07:00
Joel Dice
b2e7099bbc add javadoc target to makefile 2008-02-26 17:19:15 -07:00
Eric Scharff
eaa8d5c64b Trivial implementation of java.util.Random.nextInt(int n) 2008-02-26 09:37:46 -07:00
Eric Scharff
e616161d5a Fixes jar file loading for compressed jars.
zip files have a central directory header (which has correct information
about files) and a local file header (which sometimes does not.)  Always use
the central directory versions to get accurate data.
2008-02-25 17:29:26 -07:00
Eric Scharff
685485abb5 Fixed typo in jar command 2008-02-21 08:33:02 -07:00
Joel Dice
2019e2d5bb readme.txt whitespace tweak 2008-02-20 10:57:52 -07:00
Joel Dice
823148841a fix generation of UnsatisfiedLinkError message in resolveNativeMethodData 2008-02-20 10:51:54 -07:00
Joel Dice
9601f2fb04 fix process=interpret build 2008-02-20 10:48:08 -07:00
Eric Scharff
1f48d39a8a Reset debugging flag 2008-02-20 10:14:42 -07:00
Joel Dice
a1460b1f82 superficial readme.txt tweaks 2008-02-20 09:55:43 -07:00
Eric Scharff
4171382d1e Updated instructions for Mac OS X 2008-02-20 09:41:55 -07:00
Eric Scharff
8f4cb3315a do not call dlclose on the main executable (to avoid crashes) 2008-02-20 09:41:30 -07:00
Joel Dice
85abd14137 change avium.version to avian.version 2008-02-20 08:13:15 -07:00
Joel Dice
243e8021ca fix an error in the embedding instructions 2008-02-19 19:17:15 -07:00
Joel Dice
2f1bdfeb27 remove x86.cpp 2008-02-19 19:10:18 -07:00
Joel Dice
cf297b70ac change "author" to "authors" in license.txt disclaimer 2008-02-19 19:05:57 -07:00
Joel Dice
20d6e29cb5 remove email address from license.txt 2008-02-19 19:03:56 -07:00
Joel Dice
5680f14eb1 remove compiler2.{h,cpp}, since that work has moved to a seperate branch 2008-02-19 19:03:06 -07:00
Joel Dice
1933962a22 readme.txt cleanups 2008-02-19 19:01:26 -07:00
Joel Dice
a7f2b99c9d update readme.txt with instructions that actually work 2008-02-19 18:53:47 -07:00
Joel Dice
5afb5803a9 flesh out readme.txt, including instructions for embedding a custom application 2008-02-19 17:09:37 -07:00
Joel Dice
2edaa82801 prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
Joel Dice
e8ed2a4749 various bugfixes in new compiler 2008-02-17 15:29:04 -07:00
Joel Dice
d654c943f3 various bugfixes and tweaks in new compiler, primarily related to duplicating stack operands 2008-02-17 13:57:40 -07:00
Joel Dice
6271f878e8 include function prologue and epilogue when compiling 2008-02-12 08:21:51 -07:00
Joel Dice
fa513beb2f rework compiler interface to explicitly accept a size parameter for each operation where relevant 2008-02-11 19:06:12 -07:00
Joel Dice
b9fa7179d9 more work on new compiler; addition now works 2008-02-11 17:20:32 -07:00
Joel Dice
5b2f351f01 adapt compile.cpp to new compiler 2008-02-11 10:21:41 -07:00
Joel Dice
713ff23881 clean up sketch of new compiler 2008-02-09 13:11:37 -07:00
Joel Dice
dc04c63491 more work on new compiler 2008-02-08 16:18:57 -07:00
Joel Dice
7bb69b1c56 more work on new compiler 2008-02-07 17:24:54 -07:00
Joel Dice
4860060bf8 refine sketch of new compiler a bit 2008-02-07 16:47:48 -07:00
Joel Dice
52c447f68b early sketch of new compiler 2008-02-07 12:04:18 -07:00
Joel Dice
94404b7f89 remove unused major collection interval code 2008-02-02 13:34:29 -07:00
Joel Dice
2346714d60 move local reference cleanup from invoke() to invokeNative2(), where it belonged all along 2008-02-01 14:17:54 -07:00
Joel Dice
55e3e8871d trigger major GCs more aggressively under low memory conditions 2008-01-31 17:50:38 -07:00
Joel Dice
063c964d65 refine rule for classes extending Enum in vm.pro 2008-01-30 17:10:49 -07:00
Joel Dice
491955af05 fix recent regression in native method lookup on Windows 2008-01-30 17:09:21 -07:00
Joel Dice
eeac584474 fix thinko in invokeNative2 2008-01-30 17:08:47 -07:00
Dain
8a0ffe186f Adds appending of doubles to a StringBuffer 2008-01-30 16:26:30 -07:00
Joel Dice
34cc390286 fix uninitialized variable warning 2008-01-29 10:02:58 -07:00
Joel Dice
d693393293 remove Machine::lastLibrary and rename firstLibrary to libraries 2008-01-29 08:19:15 -07:00
Joel Dice
7a262d0578 add java.lang.OutOfMemoryError 2008-01-29 08:18:23 -07:00
Joel Dice
12fe480f1c Merge branch 'master' of dice:git/vm 2008-01-28 17:34:20 -07:00