Commit Graph

17 Commits

Author SHA1 Message Date
florianf 6cc706d6cb Next try for reading stack vars. Works slightly better, but not yet for all cases. 2016-12-10 22:25:08 +01:00
florianf 6a52b5cc8c Further stack variable reading work. Not yet finished. 2016-11-05 17:31:18 +01:00
florianf abee36f1d2 further debugging work, steps for reading current stack vars. 2016-10-12 16:57:31 +02:00
florianf 28cfe0a6c0 Added base stack address to shadow frame, reading of stack vars works now!! 2016-10-08 22:01:46 +02:00
florianf 6d27825797 reset variable for compat with SDK 10.12, see issue #48 2016-09-23 13:34:22 +02:00
florianf 45b1de02ca Added missing copyright headers, set copyright to Justin Shapcott, since he started it all. Fix #47 2016-09-21 15:22:06 +02:00
Tomski 6383cc9abf Use -1 as dummy line number 2016-09-19 21:14:46 +01:00
Tom Wojciechowski 054da9f693 initialize linenumber to avoid garbage 2016-09-18 23:37:12 +01:00
florianf c06c9d661e Fix MacOS SDK lookup for current XCode version (#36)
Now works without XCode 8.0.
2016-08-19 22:38:11 +01:00
lew487 02c412752b Added native methods for getFloat/putFloat, getBoolean/putBoolean of sun.misc.Unsafe (#33) 2016-08-16 20:28:33 +01:00
CoderBaron d47bc91836 Update VM CMakeLists.txt to use latest OSX and IOS SDKs. Fallbacks to default SDK. (#35) 2016-08-16 18:28:53 +01:00
florianf 4770f7e4ac Linenumbering with ShadowFrames (#22)
Add unwinding of line numbers in Exceptions by using ShadowFrames that are allocated on the heap.
2016-06-27 22:25:59 +01:00
Tom Wojciechowski bd14625668 Pass ShadowFrame directly, set to llvm impl by default 2016-05-05 12:49:50 +01:00
Tom Wojciechowski 36e69ff51f Add line number generating to ShadowFramePlugin. Add implementations for ll and c. 2016-05-04 16:37:06 +01:00
xoppa 24bc60beac More shadow frame work. Popping is wrong still, need to figure out where the places are to pop frames, e.g. within function on returns and when exception handling unwinds the stack. Use <useLineNumbers>true</useLineNumbers> in robovm.xml to enable it, delete cache in ~/.robovm so all classes and their methods get line number info 2016-05-02 17:25:31 +02:00
xoppa 6f0effb205 Cleaned up .gitignores. Added preliminary shadow frame generation for line numbers. Currently disabled in Config.java:232 2016-05-01 17:29:06 +02:00
Justin Shapcott 3d1e6eccf9 Initial commit. Here's what I did:
- Figured out which OSS RoboVM repositories are needed for libGDX
- Put them into a single repository, much easier to maintain, but
  history got destroyed in the process. Can look up history in
  original repository if necessary
- Set the groupId of all artifacts to my domain com.mobidevelop
  so I can publish to Maven Central
- Set the version to 2.0.0-SNAPSHOT so there's zero chance of
  a collision with the original RoboVM releases
- Couldn't get native bits to compile, so updated minimum iOS
  and Mac OS X versions for toolchain in vm/CMakeFileList.txt
  and OS.java until it worked.
- Apps wouldn't link due to some missing c++ symbols. Removed linking
  to libstdc++ in IOSTarget.java. Not sure if that has any detrimental
  effects but it fixed linking.
- When opening a run configuration via the IDEA plugin, it would
  crash in DeviceType.java:113. It seems that the output of some
  command line tool is being parsed, and that returns error
  messages together with the data we need. Fixed via ugly
  hack.
- Updated to the latest commit of https://github.com/robovm/bwdgc.git
  Probably fixed some GC crashes since the release in October.
- Pulled in the IDE plugins for Eclipse and IDEA, the Gradle plugin
  and the templates project. We don't need the Maven plugin and junit
  stuff for libGDX. Everything's in the plugin/ directory
- Templates: removed the templates that i couldn't get to work, namely
  the ones relying on storyboards. Seems like the OSS RoboVM couldn't
  deal with those at all.
- IDEA plugin: removed the bridge to the interface builder functionality
  otherwise the plugin would crash since we miss the artifacts for that
- IDEA plugin: removed the whole setup stuff for Android and license
  checks. The former didn't work for me at all, and the latter would crash
  because it's missing the actual code.
- IDEA plugin: removed the templates in RoboVMTemplateFactory that aren't
  working.
- IDEA plugin: The RoboVmCompileTask doesn't seem to work with that as it can't find
  the robovm.xml file needed for compilation. Fixed in RoboVmPlugin.java
  with a very ugly hack.
- IDEA plugin: there was a huge memory leak in the compiler code of the
  plugin. It retained the AppCompiler instance, which was huge. Fixed
  by nulling that out at the appropriate time
- IDEA plugin: fixed template_build.gradle to use the new groupId
- Gradle plugin: it seems the Gradle plugin was kept up-to-date with
  the latest closed source RoboVM. Had to remove a bunch of stuff, like
  TvOS functionality, as we don't have to sources for that.
- Eclipse plugin: just fixed up the poms, don't know if it works.
2016-04-20 13:15:45 -07:00