Commit Graph

4259 Commits

Author SHA1 Message Date
Joshua Warner
d248ad53b0 add initial cmake script (only builds parts of the code) 2014-07-24 09:36:40 -06:00
Joshua Warner
41cb6fabf5 split avian::system::crash into its own file 2014-07-24 09:36:40 -06:00
Joshua Warner
944300a5e2 Merge pull request #308 from sgoings/master
Avian UX Upgrade: Init Gradle Java Build
2014-07-24 09:33:01 -06:00
Seth Goings
fc99355c0d simplify .travis.yml for now 2014-07-23 18:40:51 -06:00
Seth Goings
ed97d55e4e Adjust travis.yml 2014-07-23 18:36:02 -06:00
Seth Goings
b717f86e47 Parallelize travis builds 2014-07-23 18:24:17 -06:00
Seth Goings
6600dfd98d Make terminal dumb to be able to show better Gradle output 2014-07-23 18:10:07 -06:00
Seth Goings
d2a4ec9da4 Improve .travis.ci file to publish after ci script 2014-07-23 18:08:25 -06:00
Seth Goings
fda597ed2b Add artifactoryPublish into travis ci build 2014-07-23 18:04:19 -06:00
Seth Goings
f4219caa28 Set up bootclasspath on javacompile targets 2014-07-23 17:26:48 -06:00
Seth Goings
644cf9167a Have Makefile pull version from gradle.properties 2014-07-23 16:36:19 -06:00
Seth Goings
cd1a01800e Merge pull request #272 from sgoings/master
Avian UX Upgrade: Artifact Publishing
2014-07-23 16:15:47 -06:00
Seth Goings
36c3e26d2c Updates per code review comments
- don't publish generator
- update version to 1.1.0-SNAPSHOT
2014-07-23 15:44:35 -06:00
Seth Goings
f40d9a36bf Update Gradle to 2.0 + plugins 2014-07-23 15:44:34 -06:00
Seth Goings
2dffc2ecf8 Misspelled API_KEY 2014-07-23 15:44:33 -06:00
Seth Goings
16c70a4762 Add Gradle wrapper build on top of project to enable publishing to Bintray/OSS Artifactory 2014-07-23 15:44:18 -06:00
Joshua Warner
c26fb78f2c Merge pull request #307 from dicej/posix-spawn
fix Processes test failure for openjdk-src build with recent versions of...
2014-07-22 17:42:40 -06:00
Joel Dice
6e26ff0c0b Merge pull request #306 from joshuawarner32/openjdk-src-arm-compiler-fix
fix compiler problems discovered in openjdk-src arm bootimage build
2014-07-22 17:12:42 -06:00
Joel Dice
1bee015af3 fix Processes test failure for openjdk-src build with recent versions of OpenJDK 7
It looks like the UNIXProcess class has added posix_spawn support,
which is enabled by default unless overriden by the
jdk.lang.Process.launchMechanism system property.  For some reason I
haven't bothered to investigate, posix_spawn fails on MacOS, so this
patch sets the aforementioned property to "fork" to get the old,
working behavior.
2014-07-22 17:06:55 -06:00
Joshua Warner
f3968d2401 fix compiler problems discovered in openjdk-src arm bootimage build
This particular problem was introduced in the recent "compiler types" refactor.
It's unclear why it wasn't encountered before now.

Note that the full, unproguarded bootimage build is still blocked by #305
2014-07-22 15:38:43 -06:00
Joshua Warner
8471befb4d Merge pull request #304 from dicej/darwin-openjdk-src
fix MacOS/iOS openjdk-src build regression (part 2)
2014-07-22 09:52:56 -06:00
Joel Dice
f8f1e33d39 fix MacOS/iOS openjdk-src build regression (part 2) 2014-07-22 09:26:49 -06:00
Joshua Warner
4c5d316b84 Merge pull request #303 from dicej/darwin-openjdk-src
fix MacOS/iOS openjdk-src build regression
2014-07-22 08:57:41 -06:00
Joel Dice
e662d5c9cf Merge pull request #301 from pcarrier/pierre/gsize
src/jnienv.cpp: support G size suffix
2014-07-22 08:34:26 -06:00
Joel Dice
d06f493c3e fix MacOS/iOS openjdk-src build regression 2014-07-22 08:24:45 -06:00
Pierre Carrier
375703fbd3 src/jnienv.cpp: support G size suffix 2014-07-18 06:09:53 -07:00
Joshua Warner
1a0ccb1df8 Merge pull request #300 from dicej/order-of-operations
fix order of operations regression in referenceTargetUnreachable
2014-07-17 19:29:52 -06:00
Joel Dice
4c8f3933f5 fix order of operations regression in referenceTargetUnreachable
We need to dereference the GcJreference** before we change what it
points to.  The code was mistakenly reordered in the recent type
refactoring.
2014-07-17 17:53:36 -06:00
Joel Dice
84ad3c2392 Merge pull request #292 from joshuawarner32/executable-allocator
Various improvements
2014-07-17 13:10:05 -06:00
Joshua Warner
051804816a statically link libstdc++ to type-generator on windows (for real, this time!) 2014-07-17 12:22:24 -06:00
Joshua Warner
4d79f3bea1 Replace Allocator with Alloc or AllocOnly where possible 2014-07-16 18:51:35 -06:00
Joshua Warner
fa1e3d74c0 reduce Allocator interface 2014-07-16 18:51:29 -06:00
Joshua Warner
2d0ac3ac17 reduce vm::Zone interface 2014-07-16 18:41:02 -06:00
Joshua Warner
eb92c904c6 split Tokenizer into its own header 2014-07-16 18:41:02 -06:00
Joshua Warner
29ee088f19 remove unused Half type 2014-07-16 18:41:02 -06:00
Joshua Warner
80cf745424 move executable allocator out of System class 2014-07-16 18:40:57 -06:00
Joshua Warner
a1631c00f9 use size_t in Allocator 2014-07-16 18:10:51 -06:00
Joshua Warner
d92edcc36d Merge pull request #299 from dicej/heapdump
fix heapdump=true build
2014-07-16 16:31:28 -06:00
Joel Dice
cae4b49005 fix heapdump=true build 2014-07-16 15:51:48 -06:00
Joel Dice
00340cdc6b Merge pull request #298 from joshuawarner32/fix-arm
fix arm build
2014-07-16 10:37:36 -06:00
Joshua Warner
2778531873 fix arm build 2014-07-16 08:59:50 -06:00
Joel Dice
4b7b3d2680 Merge pull request #295 from joshuawarner32/fix-windows-build
fix windows build
2014-07-15 12:31:10 -06:00
Joel Dice
bdd5e2a661 Merge pull request #296 from joshuawarner32/fix-openjdk-src
fix openjdk-src build (oversight from type-generator refactor)
2014-07-15 12:29:02 -06:00
Joshua Warner
bfddef54c6 fix openjdk-src build (oversight from type-generator refactor) 2014-07-15 08:31:22 -06:00
Joshua Warner
21cec8834f fix LLD macro for gcc >= 4.8 on windows 2014-07-14 10:42:53 -06:00
Joshua Warner
732669dc01 statically link libstdc++ to type-generator on windows 2014-07-14 10:39:16 -06:00
Joshua Warner
2f94c5b03d fix windows build 2014-07-14 08:57:03 -06:00
Joshua Warner
cf835b8cc7 Merge pull request #290 from dicej/all-the-bugs
fix all the bugs
2014-07-12 17:12:10 -06:00
Joel Dice
2a43e68c16 fix all the bugs
So there I was, planning to just fix one little bug: Thread.holdsLock
and Thread.yield were missing for the Android class library.  Easy
enough, right?  So, I added a test, got it passing, and figured I'd go
ahead and run ci.sh with all three class libraries.  Big mistake.

Here's the stuff I found:

 * minor inconsistency in README.md about OpenSSL version

 * untested, broken Class.getEnclosingMethod (reported by Josh)

 * JNI test failed for tails=true Android build

 * Runtime.nativeExit missing for Android build

 * obsolete assertion in CallEvent broke tails=true Android build

 * obsolete superclass field offset padding broke bootimage=true Android build

 * runtime annotation parsing broke bootimage=true Android build
   (because we couldn't modify Addendum.annotationTable for classes in
   the heap image)

 * ci.sh tried building with both android=... and openjdk=..., which
   the makefile rightfully balked at

Sorry this is all in a single commit; I didn't expect so many
unrelated issues, and I'm too lazy to break them apart.
2014-07-12 16:57:24 -06:00
Joel Dice
a80ac91728 Merge pull request #289 from joshuawarner32/refactor-type-gen
Refactor type generator
2014-07-12 16:21:32 -06:00