mirror of
https://github.com/encounter/robovm.git
synced 2026-03-30 11:36:44 -07:00
3d1e6eccf9
- 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.
27 lines
5.0 KiB
XML
Executable File
27 lines
5.0 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="false" context="gettercomment_context" deleted="false" description="Comment for getter method" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name="gettercomment"/><template autoinsert="false" context="settercomment_context" deleted="false" description="Comment for setter method" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.settercomment" name="settercomment"/><template autoinsert="false" context="constructorcomment_context" deleted="false" description="Comment for created constructors" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name="constructorcomment"/><template autoinsert="false" context="filecomment_context" deleted="false" description="Comment for created Java files" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.filecomment" name="filecomment">/*
|
|
* Copyright (C) ${year} RoboVM AB
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/gpl-2.0.html>.
|
|
*/</template><template autoinsert="false" context="typecomment_context" deleted="false" description="Comment for created types" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.typecomment" name="typecomment">/**
|
|
* ${tags}
|
|
*/</template><template autoinsert="false" context="fieldcomment_context" deleted="false" description="Comment for fields" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name="fieldcomment"/><template autoinsert="false" context="methodcomment_context" deleted="false" description="Comment for non-overriding methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name="methodcomment"/><template autoinsert="false" context="overridecomment_context" deleted="false" description="Comment for overriding methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name="overridecomment"/><template autoinsert="false" context="delegatecomment_context" deleted="false" description="Comment for delegate methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name="delegatecomment"/><template autoinsert="true" context="newtype_context" deleted="false" description="Newly created files" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.newtype" name="newtype">${filecomment}
|
|
${package_declaration}
|
|
|
|
${typecomment}
|
|
${type_declaration}</template><template autoinsert="true" context="classbody_context" deleted="false" description="Code in new class type bodies" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.classbody" name="classbody">
|
|
</template><template autoinsert="true" context="interfacebody_context" deleted="false" description="Code in new interface type bodies" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name="interfacebody">
|
|
</template><template autoinsert="true" context="enumbody_context" deleted="false" description="Code in new enum type bodies" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.enumbody" name="enumbody">
|
|
</template><template autoinsert="true" context="annotationbody_context" deleted="false" description="Code in new annotation type bodies" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name="annotationbody">
|
|
</template><template autoinsert="false" context="catchblock_context" deleted="false" description="Code in new catch blocks" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.catchblock" name="catchblock">${exception_var}.printStackTrace();</template><template autoinsert="false" context="methodbody_context" deleted="false" description="Code in created method stubs" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.methodbody" name="methodbody">${body_statement}</template><template autoinsert="false" context="constructorbody_context" deleted="false" description="Code in created constructor stubs" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name="constructorbody">${body_statement}</template><template autoinsert="true" context="getterbody_context" deleted="false" description="Code in created getters" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.getterbody" name="getterbody">return ${field};</template><template autoinsert="true" context="setterbody_context" deleted="false" description="Code in created setters" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.setterbody" name="setterbody">${field} = ${param};</template></templates>
|