Joshua Warner
ba808a8589
Merge pull request #330 from sgoings/master
...
Enable individual platform/arch builds by watching for platform/arch
2014-08-20 18:27:06 -06:00
Seth Goings
525a350853
Enable individual platform/arch builds by watching for platform/arch
2014-08-20 16:17:39 -06:00
Joshua Warner
c758da3fa5
Merge pull request #329 from dicej/atomic-flags
...
ensure Thread::flags is always updated atomically
2014-08-20 10:30:25 -06:00
Joel Dice
32aefaf421
ensure Thread::flags is always updated atomically
...
Since this field is sometimes updated from other threads, it is
essential that we always update it atomically.
2014-08-20 09:49:00 -06:00
Joshua Warner
e1074c026c
Merge pull request #327 from dicej/tryNative
...
add avian.Machine.tryNative
2014-08-19 16:32:37 -06:00
Joel Dice
8b83de8985
add avian.Machine.tryNative
...
This function allows you to call native code such that any
SIGSEGV/SIGBUS/SIGFPE/EXC_ACCESS_VIOLATION/etc. raised by that code is
transformed into a Java exception and thrown by tryNative. Note that
this effectively results in a longjmp out of whatever function raised
the exception, so any C++ destructors or other cleanup code will not
be run.
2014-08-19 14:03:46 -06:00
Joshua Warner
0c464f3f84
Merge pull request #328 from dicej/windows
...
Windows
2014-08-19 12:53:59 -06:00
Joel Dice
42ae8cbe39
fix openjdk-src Windows build regression
2014-08-19 11:49:18 -06:00
Joel Dice
32ef5da55a
don't try to run CMake on Cygwin
...
We've still got some bugs to work out with CMake on Cygwin, so we
disable it for now.
2014-08-19 11:47:34 -06:00
Joshua Warner
62983ebd7a
Merge pull request #326 from dicej/gc-jvmfillinstacktrace
...
fix GC safety bug in jvmFillInStackTrace
2014-08-19 11:06:31 -06:00
Joel Dice
f94157aa38
fix GC safety bug in jvmFillInStackTrace
...
This fixes spurious Trace test failures with openjdk-src build.
2014-08-19 10:14:07 -06:00
Joel Dice
acfcdf6b85
Merge pull request #325 from joshuawarner32/linux-arm-instr-cache
...
use prototype for __clear_cache across all linux-arm systems
2014-08-19 09:17:00 -06:00
Joel Dice
bfb96ce065
Merge pull request #323 from joshuawarner32/ci-flexibility
...
skip bootimage tests with 'openjdk' but no 'openjdk-src' flags
2014-08-19 09:01:48 -06:00
Joshua Warner
5210cbaa54
use prototype for __clear_cache across all linux-arm systems, not just android
2014-08-19 08:53:21 -06:00
Joshua Warner
298eb8f13b
Merge pull request #324 from dicej/unused
...
explicitly override UNUSED definition
2014-08-18 08:09:18 -06:00
Joel Dice
5b618982b5
explicitly override UNUSED definition
...
Recent versions of jni.h such as the one provided by Debian Jessie's
OpenJDK define UNUSED in a way that conflicts with our definition and
usage, so we need to explicitly undefine it before redefining it to
avoid compiler noise.
2014-08-17 15:34:44 -06:00
Joshua Warner
1753eed778
skip bootimage tests with 'openjdk' but no 'openjdk-src' flags
2014-08-17 13:56:54 -06:00
Joel Dice
6c2c7448d6
Merge pull request #322 from joshuawarner32/ci-flexibility
...
disable irrelevant openjdk target when openjdk is passed as a flag
2014-08-16 18:17:54 -06:00
Joshua Warner
9c415cbf09
disable irrelevant openjdk target when openjdk is passed as a flag
2014-08-15 15:29:53 -06:00
Mike Jensen
aa4038ed3d
Merge pull request #321 from joshuawarner32/map-hashcode-equals
...
add hashCode and equals methods to java/util/Map
2014-08-15 11:31:06 -06:00
Joshua Warner
46f7a45f12
add hashCode and equals methods to java/util/Map
...
Granted, this is weird - but this is what openjdk does. Therefore,
some code that is compiled for openjdk (say, protobufs) will treat
calls to Map.hashCode as interface calls instead of virtual calls, as
they would have previously been under avian's classpath.
Also note that this error caused avian to abort in findInterfaceMethod
rather than throw an AbstractMethodError or somesuch - but that's a
problem for another day.
2014-08-15 10:44:22 -06:00
Joshua Warner
34b7f8a17e
Merge pull request #320 from dicej/master
...
fix clang "always true" warning in lzma/main.cpp
2014-08-11 08:41:06 -06:00
Joel Dice
1fb297775c
fix clang "always true" warning in lzma/main.cpp
2014-08-11 08:40:08 -06:00
Joshua Warner
44d21884d6
Merge pull request #319 from dicej/master
...
fix crash in Posix_getaddrinfo for ProGuarded Android build
2014-08-07 10:44:07 -06:00
Joel Dice
ff78b05c59
fix crash in Posix_getaddrinfo for ProGuarded Android build
...
Posix_getaddrinfo needs to access fields in libcore.io.StructAddrinfo
via JNI, so we tell ProGuard to preserve them.
This commit also includes a minor indentation tweek in README.md and
removes -fno-rtti from lzma-build-cflags to avoid a warning from GCC.
2014-08-07 10:16:04 -06:00
Joshua Warner
bbf3382d3a
Merge pull request #318 from dicej/bootimage-lzma
...
fix bootimage lzma build
2014-08-04 18:02:46 -06:00
Joel Dice
8c1e7d48ad
fix bootimage lzma build
...
We were using the length of the uncompressed boot image when
generating the object file, whereas we should have been using the
compressed length.
2014-08-04 17:21:23 -06:00
Joel Dice
60ea4b2cc2
Merge pull request #317 from joshuawarner32/cmake-vs
...
Get cmake build working with visual studio 2013
2014-07-31 08:16:48 -06:00
Joshua Warner
e92230c89c
use c++11-conformant _WIN32 test macro
2014-07-30 16:05:30 -06:00
Joshua Warner
d47fcdc349
fix ubuntu precise mingw math.h problems
2014-07-30 14:15:22 -06:00
Joshua Warner
ce1a5f5c28
fix macosx arch=i386 process=interpret build
2014-07-30 14:15:22 -06:00
Joshua Warner
374a39651b
allow passing flags to ci.sh script
2014-07-30 14:15:22 -06:00
Joshua Warner
d8e0f5cc06
fix zlib headers / linking for windows
2014-07-30 14:15:22 -06:00
Joshua Warner
ef3f77695c
use inline asm for sse detection
2014-07-30 14:15:22 -06:00
Joshua Warner
51b510cbea
first pass at cmake + visual studio support
2014-07-30 14:15:15 -06:00
Joel Dice
9f182d4613
Merge pull request #316 from bigfatbrowncat/fixing-windows-build
...
Fixed Android build on Windows
2014-07-29 08:43:39 -06:00
Vasily Litvinov
c52a9bdf0d
Fixing Avian classpath on Windows
2014-07-29 13:51:33 +04:00
Vasily Litvinov
d668c6a259
Fixed Android build on Windows
2014-07-29 13:01:51 +04:00
Joshua Warner
e6b587333a
Merge pull request #314 from sgoings/master
...
Avian UX Upgrade: Artifact Publishing v2
2014-07-28 17:32:15 -06:00
Joshua Warner
82a3372e94
Merge pull request #315 from dicej/lzma-clang
...
fix lzma build with clang
2014-07-28 17:31:00 -06:00
Joel Dice
830fd8535a
fix lzma build with clang
...
Clang doesn't like seeing -std=c++0x when building C code, and many of
the options in cflags don't apply to the LZMA source code anyway, so
we give LZMA its own set of compiler flags.
2014-07-28 17:06:57 -06:00
Seth Goings
28ed000fd9
Add dependency between artifactoryPublish and assemble
2014-07-28 15:07:57 -06:00
Seth Goings
a55f291575
Remove clean before publish
2014-07-28 14:39:39 -06:00
Seth Goings
00f6fb2ca6
Fix up encrypted travis.yml data
2014-07-28 14:16:23 -06:00
Seth Goings
4f68eb06bd
Remove commented builtBys
2014-07-28 13:56:38 -06:00
Seth Goings
2c6d212ec8
Remove github pages javadoc publish (we now have the ability to publish javadoc jar)
2014-07-28 13:56:38 -06:00
Seth Goings
8c0fe8d9a3
Configure javadoc a bit
2014-07-28 13:56:38 -06:00
Seth Goings
90b8e3d9cd
Publish javadoc jar and classpath jar to main avian coordinates
2014-07-28 13:56:38 -06:00
Seth Goings
1258d6cde0
Add all platform/arch configurations to artifactory publishable set
2014-07-28 13:56:38 -06:00
Seth Goings
7e68630136
Add linux[32,64] and windows[32,64] support
2014-07-28 13:56:38 -06:00