Joel Dice
357bd29460
support building Avian as a self-contained dynamic library
2008-03-30 21:43:43 -06:00
Joel Dice
91494d9081
add constructor to ByteBuffer
2008-03-28 18:08:08 -06:00
Joel Dice
6cddd10e0a
various code cleanups, bug fixes, and compatibility fixes in NIO code
2008-03-25 16:17:29 -06:00
Joel Dice
3a208edbbc
update NIO code to be more compatible with Java
2008-03-25 11:18:17 -06:00
Joel Dice
9cb21a29a6
fix handling of interface vtables for abstract classes
2008-03-21 17:42:36 -06:00
Joel Dice
50040b24f5
remove unused code from util.cpp
2008-03-21 14:33:44 -06:00
Joel Dice
c7a357aa5e
implement l2d and l2f in interpret.cpp
2008-03-21 13:52:09 -06:00
Joel Dice
1b098c9267
implement ArithmeticException
2008-03-21 13:48:42 -06:00
Joel Dice
7dd9b96717
add additional methods and fields to class library
2008-03-20 18:40:18 -06:00
Joel Dice
8e1ec5794f
implement java.util.Random and java.lang.Math.random in Java
2008-03-20 18:39:25 -06:00
Joel Dice
9fe2cbff43
implement l2d and l2f byte codes
2008-03-20 18:37:58 -06:00
Joel Dice
56389dd2e1
don't populate interface vtables for abstract classes
2008-03-20 18:37:21 -06:00
Joel Dice
d8889bd4d8
protect local variables from GC in jnienv.cpp
2008-03-20 18:36:53 -06:00
Joel Dice
55d2fb8f57
specify doctitle, etc. when generating javadoc
2008-03-11 12:51:07 -06:00
Joel Dice
a388ca19ee
fix build for GCC 4.3
...
Note that this requires removing the -Wconversion flag for now. I'll
see about restoring it when I'm ready to tackle all those warnings.
2008-03-10 13:49:10 -06:00
Joel Dice
6fa847518c
add info about win32 repository to readme.txt
2008-03-07 16:34:57 -07:00
Joel Dice
315fc06a20
look for win32 headers and libraries in parent directory
2008-03-07 16:34:24 -07:00
Joel Dice
b0bdad231e
remove spurious period from readme.txt
2008-03-06 13:46:44 -07:00
Joel Dice
fbc5463fb1
specify Avian version via a macro defined in makefile
2008-03-06 13:30:26 -07:00
Joel Dice
859f676f24
add introduction and build reqs to readme.txt
2008-03-06 13:29:25 -07:00
Joel Dice
ec3f42c66e
allow test.sh to work in debug-fast and fast modes
2008-03-06 13:28:28 -07:00
Joel Dice
9fe00836f7
fix stack mapping code to do as many passes as necessary
...
Previously, we had been doing exactly two passes over the event log to
caculate the stack object reference map at each trace point. It turns
out the correct number of passes depends on how many incorrect
assumptions we make about what the stack looks like at instructions with
multiple predecessors (i.e. targets of jumps and branches).
Each time we detect we've made one or more incorrect assumptions during
a pass, we must do another pass to correct those assumptions. That pass
may in turn reveal further incorrect assumptions, and so on.
2008-03-05 14:44:17 -07:00
Joel Dice
7343eea558
Merge branch 'master' of oss:/var/local/git/avian
2008-03-05 14:22:04 -07:00
Joel Dice
3e7acd7861
fix backwards logic in Collections.toArray
2008-03-05 14:21:53 -07:00
Eric Scharff
89bc3bc4e7
Fix bug in StringBuilder.insert()
2008-03-05 12:10:59 -07:00
Joel Dice
1bca2e9e5d
tweak Math.natRandom for Windows to guarantee we never return anything outside [0,1)
2008-02-29 12:49:00 -07:00
Joel Dice
3c237547ee
fix Math.natRandom for Windows build
2008-02-29 12:39:09 -07:00
Joel Dice
51a731847a
java.util code cleanup
2008-02-28 15:18:46 -07:00
Eric Scharff
e93ea33f82
Never inline calls to ResourceBundle.getBundle(...)
2008-02-28 12:38:44 -07:00
Joel Dice
35d4d19c07
Merge branch 'master' of oss:/var/local/git/avian
2008-02-28 11:37:14 -07:00
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
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