Joshua Warner
790fcff73e
Merge pull request #89 from dscho/get-resources
...
Support ClassLoader#getResources with multiple class path elements
2013-11-04 16:29:40 -08:00
Joshua Warner
9080b462b6
fix jni_md.h not found 10.9 problem
2013-11-04 17:26:57 -07:00
Johannes Schindelin
a2feec0bab
Add a pseudo-integration test for getResources()
...
This adds an extra class path element to the VM running the unit tests,
writes files with identical file names into both directories and then
verifies that SystemClassLoader#getResources can find them.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2013-11-04 16:53:02 -06:00
Geoff Nixon
69ea1f5721
Bugfixes for Mac OS X, etc.
2013-10-31 01:35:56 -07:00
Joshua Warner
699ca75c54
fix sdk detection logic
2013-09-03 21:03:29 -06:00
Joel Dice
c06dd28ea0
fix Android classpath build for iOS
...
This mainly involved reworking the makefile to avoid conflating
Darwin/ARM builds with iOS, since we may also want to build for the
iOS Simulator, which is i386.
Note that I was only able to test this on the Simulator, since I don't
have a real iOS device to test with. Sorry if I broke something; if
so, please fix it :)
2013-07-31 15:20:32 -07:00
Joel Dice
3058e4254d
only use librt on Linux; OS X doesn't have or need it
2013-07-07 11:35:20 -06:00
Joel Dice
82577d742f
fix Android classpath build
...
Hopefully it will stay fixed this time, since we now specify commit
hashes for each dependency which are known to work.
2013-07-05 14:36:16 -06:00
Joel Dice
c5d2cb007c
tweaks to prepare for 0.7 release
2013-07-02 14:39:20 -06:00
Joshua Warner
de21913d13
fix linux->darwin cross-compile
...
There were two issues: the linux->darwin cross compiler is more stringent
about unused variables, and the makefile specified flags for building ON
darwin that were actually applicable whenever we are building FOR darwin.
2013-06-04 13:32:22 -06:00
Joel Dice
64002319c5
use Android directory layout when accessing class library code
...
Per https://github.com/ReadyTalk/avian/issues/53 , Avian should build
against a standard AOSP checkout, which means we should look for
subprojects in the directories the repo utility would place them.
2013-04-22 17:10:23 -06:00
Carsten Elton Sorensen
43f41f6e73
Fixed embed.exe loader
2013-04-03 11:46:17 +02:00
Joel Dice
e8a1900c2b
fix openjdk-src build regression
2013-03-26 08:30:26 -06:00
Joel Dice
1630739849
fix Windows x86_64 build regression due to unspecified AVIAN_TARGET_FORMAT
2013-03-15 17:47:15 -06:00
Joel Dice
651145bd61
remove -static-libstdc++ -static-libgcc from bootimage-generator-lflags
...
MinGW-w64's GCC doesn't understand those flags, and we shouldn't be
linking statically or dynamically with either of those libraries.
2013-03-15 13:57:44 -06:00
Joel Dice
9f2e0f6c4f
rebuild bootimage-generator when vm-objects have changed
2013-03-15 13:16:20 -06:00
Joel Dice
8ac1f68a79
fix Android library build regression for non-Windows platforms
2013-03-15 13:15:48 -06:00
Joel Dice
d5504d8f58
first step towards supporting Android class library on Windows
...
A majority of the tests are passing, but more work is needed to get
them all to pass.
2013-03-14 15:33:05 -06:00
Joel Dice
ff19ab6c13
add avian.trace.port property
...
Setting this property (e.g. -Davian.trace.port=5555) will cause the VM
to start an extra daemon thread which listens on the specified TCP
port for incoming connections and dumps stack traces for all running
threads to that socket. You can retrieve that dump using e.g. netcat:
nc localhost 5555
2013-03-08 14:47:27 -07:00
Joel Dice
caa632d601
fix build when let expressions aren't available
2013-03-04 14:42:18 -07:00
Joel Dice
5d730fe8fa
various tweaks to get hello-ios working with the Android library
2013-03-04 14:24:41 -07:00
Joel Dice
b3978c0a0a
fix msvc build
2013-03-04 11:09:59 -07:00
Joshua Warner
06bc978d33
Merge branch 'wip'
2013-03-01 15:44:02 -07:00
Joshua Warner
df23c379bf
fix windows embed-loader build
2013-03-01 14:52:27 -07:00
Joel Dice
625c04e786
a few tweaks to fix the OS X Android class library build
...
With corresponding changes to libcore, all the tests are passing
except Datagrams, which fails with a NPE in
NetworkInterface.getNetworkInterfacesList due to OS X not having
/sys/class/net. Porting that class to OS X looks like a non-trivial
task.
2013-02-28 10:15:10 -07:00
Joshua Warner
9327043bc5
Merge branch 'master' into wip
...
Conflicts:
makefile
src/codegen/arm/assembler.cpp
src/codegen/powerpc/assembler.cpp
src/codegen/x86/assembler.cpp
2013-02-27 19:27:07 -07:00
Joel Dice
c261e1c283
fix OpenJDK tests on OS X
2013-02-27 12:05:57 -07:00
Joel Dice
726cdb645b
support iOS SDK 6.1
2013-02-27 12:05:57 -07:00
Joel Dice
22ecf27aa5
use -I$(src) instead of -idirafter $(src)
...
This fixes the iOS build, where the wrong version of util.h was being
used. The change to use -idirafter happened way back in 2007, and I
can't remember what its intention was. We'll have to watch for
regressions on other platforms.
2013-02-27 12:05:57 -07:00
Joel Dice
3eda6ab0a2
Merge remote-tracking branch 'github/master' into dicej
...
Conflicts:
makefile
2013-02-27 10:09:38 -07:00
Joel Dice
d4a42c7a26
add Android class library instructions to README.md
2013-02-27 10:03:17 -07:00
Joel Dice
e6a46fc014
various fixes to get avian-swt-examples working with the Android class library
2013-02-26 16:24:02 -07:00
Joel Dice
8a976fafa7
fix avian-unittest openjdk-src build
2013-02-25 16:55:44 -07:00
Joel Dice
0bb0b1ec0e
enable use of Android class library on 64-bit systems
...
This involved patching libcore.git to make it 64-bit safe.
2013-02-25 16:41:46 -07:00
Joshua Warner
56625b89d8
group x86, arm, and powerpc target directories into 'target'
2013-02-23 22:47:52 -07:00
Joel Dice
686c2352c1
all tests now pass for Android class library build
2013-02-22 17:23:59 -07:00
Joel Dice
0a4a04cc09
Merge remote-tracking branch 'github/master' into dicej
2013-02-22 17:13:10 -07:00
Joshua Warner
dbbd4e7d40
attempt fix for openjdk tests
2013-02-22 15:13:25 -07:00
Joel Dice
9060a31348
Merge remote-tracking branch 'github/master' into dicej
...
Conflicts:
src/classpath-openjdk.cpp
2013-02-22 14:43:20 -07:00
Joshua Warner
494f773bc9
remove redundency in vm-depends
2013-02-21 19:42:29 -07:00
Joshua Warner
fe7bb5e640
Merge branch 'master' into wip
...
Conflicts:
makefile
2013-02-21 19:33:38 -07:00
Joshua Warner
af0e7767eb
Merge branch 'master' of github.com:ReadyTalk/avian
...
Conflicts:
makefile
2013-02-21 16:23:22 -07:00
Joshua Warner
ab9f9550cf
move tokenizer.h to include/avian/util/string.h, merge in the String declaration from object-writer/tools.h
2013-02-21 16:18:20 -07:00
Joel Dice
42d39b1af1
more Android class library work
2013-02-21 15:37:17 -07:00
Joshua Warner
32044637cd
move bootimage generator to src/tools
2013-02-21 13:15:58 -07:00
Joshua Warner
186a3993b5
move system implementations to src/vm/system/
2013-02-21 13:11:29 -07:00
Joshua Warner
48691bb50a
move stream.h to include, and type-generator to src/tools
2013-02-20 21:26:34 -07:00
Joel Dice
fd047bd6e9
find headers regardless of directory layout in vm-depends definition
2013-02-20 17:20:10 -07:00
Joshua Warner
1f0833252d
Merge branch 'master' into wip
...
Conflicts:
src/codegen/compiler/event.cpp
src/codegen/x86/assembler.cpp
src/common.h
2013-02-20 11:27:39 -07:00
Joel Dice
d414fd4c7b
more progress on Android class library port
...
Hello.java works. Yay.
2013-02-20 10:22:40 -07:00