Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Feb 10, 2016
0 parents commit c76bf3e
Show file tree
Hide file tree
Showing 22 changed files with 2,093 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.DS_Store
Thumbs.db
*.swc
*.stackdump
._*
*.local.properties
*.p12
out/
output/
third-party/
signing/
.actionScriptProperties
.flexLibProperties
.project
.settings/
bin-debug/
bin-release/
html-template/
.metadata/
*.iml
.idea/
archive/
*.lnk
29 changes: 29 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Simplified BSD License
======================

Copyright 2012-2015 Bowler Hat LLC. All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those
of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the copyright holders.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Feathers UI 3.0.0-prerelease [![Build Status](https://travis-ci.org/BowlerHatLLC/feathers.svg?branch=master)](https://travis-ci.org/BowlerHatLLC/feathers)

---

**Warning:** This is a pre-release version of Feathers UI. It may contain bugs or unfinished features. It is not recommended for production apps because it is considered potentially *unstable*. Use at your own risk. To download a stable build, visit the [Feathers website](http://feathersui.com/).

---

Say hello to [Feathers UI](http://feathersui.com/), a library of light-weight, skinnable, and extensible UI controls for mobile and desktop. The components run on [Starling Framework](http://starling-framework.org/) and the [Adobe Flash runtimes](http://gaming.adobe.com/technologies/) — offering blazing fast GPU powered graphics to create a smooth and responsive experience. Build completely standalone, native applications on iOS, Android, Windows, and Mac OS X, or target Adobe Flash Player in desktop browsers. Created by [Josh Tynjala](http://twitter.com/joshtynjala) from Bowler Hat LLC, Feathers UI is free and open source.

## Quick Links

* [Website](http://feathersui.com/)
* [Help](http://feathersui.com/help/)
* [API Reference](http://feathersui.com/api-reference/)
* [Discussion Forum](http://forum.starling-framework.org/forum/feathers)
* [Github Project](https://github.com/BowlerHatLLC/feathers)

### News and Updates

* [Like on Facebook](https://facebook.com/feathersui)
* [Follow on Twitter](https://twitter.com/feathersui)
* [Find on Google+](https://www.google.com/+feathersui)

## Minimum Requirements

* Adobe AIR or Adobe Flash Player 19.0
* [Starling Framework 2.0](http://forum.starling-framework.org/topic/preview-starling-20)

## Downloads

To download the latest stable version of Feathers UI, visit [feathersui.com](http://feathersui.com/).
5 changes: 5 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# feathers-compat Release Notes

## 1.0.0-prerelease - In Development

* Initial release
25 changes: 25 additions & 0 deletions build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
feathers.root = ${basedir}/../feathers

#this folder should contain the contents of starling.zip/starling/src
starling.root = ${feathers.root}/third-party/starling

#this folder should contain the SWC files for flexunit, as described here:
#https://github.com/Gamua/Starling-Framework/blob/v1.7/tests/README.md
#additionally, it should contain the JAR files for the flexunit ant tasks
flexunit.root = ${feathers.root}/third-party/flexunit

source.root = ${basedir}/source
api.root = ${feathers.root}/documentation/api-reference
test.root = ${basedir}/test

output.path = ${basedir}/output
dependency.output = ${output.path}/dependencies
swc.output = ${output.path}/swc
api.output = ${output.path}/api-reference
source.output = ${output.path}/source

swf.version = 30

feathers.compat.version = 1.0.0-prerelease

footer.text = <a href='http://feathersui.com/' target='_top'>Feathers</a> | <a href='https://github.com/BowlerHatLLC/feathers-compat' target='_top'>feathers-compat</a>
143 changes: 143 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
<?xml version="1.0" encoding="utf-8"?>
<project name="feathers-compat" default="swc" basedir=".">

<!-- build.local.properties and sdk.local.proprties are optional files that
can be used to override the default properties. -->
<property file="./sdk.local.properties"/>
<property file="./sdk.properties"/>
<property file="./build.local.properties"/>
<property file="./build.properties"/>
<taskdef resource="flexUnitTasks.tasks" classpath="${flexunit}"/>

<target name="swc" depends="-swc,-cleanup" description="builds feathers-compat.swc only"/>

<target name="api" depends="-api,-cleanup" description="builds API reference only"/>

<target name="test" depends="-test,-cleanup" description="runs unit tests"/>

<target name="full" depends="-swc,-test,-api,-includes,-cleanup" description="builds everything">

<!-- move feathers.swc to its final location for distribution.
basically, we didn't want the extra swc directory for a quick build. -->

<copy overwrite="true" todir="${swc.output}">
<fileset dir="${output.path}">
<include name="feathers.swc"/>
</fileset>
</copy>
<delete file="${output.path}/feathers.swc"/>
</target>

<target name="package" depends="full" description="builds everything and creates a zip file for distribution">
<zip destfile="${output.path}/feathers-compat-${feathers.compat.version}.zip">
<zipfileset dir="${output.path}"/>
</zip>

<delete includeemptydirs="true">
<fileset dir="${output.path}" excludes="feathers-compat-${feathers.compat.version}.zip"/>
</delete>
</target>

<target name="-prepare">
<delete dir="${output.path}"/>
</target>

<target name="-cleanup">
<delete dir="${dependency.output}"/>
</target>

<target name="-starling" depends="-prepare">
<echo message="Building starling.swc"/>
<java jar="${compc}" dir="${starling.root}" fork="true" failonerror="true">
<arg value="-load-config=${airsdk.config}"/>
<arg value="-swf-version=${swf.version}"/>
<arg value="-source-path+=."/>
<arg value="-include-sources+=."/>
<arg value="-output=${dependency.output}/starling.swc"/>
</java>
</target>

<target name="-feathers" depends="-starling">
<echo message="Building feathers.swc"/>
<java jar="${compc}" dir="${feathers.root}" fork="true" failonerror="true">
<arg value="-load-config=${airsdk.config}"/>
<arg value="-swf-version=${swf.version}"/>
<arg value="-source-path+=source"/>
<arg value="-include-sources+=source"/>
<arg value="-external-library-path+=${dependency.output}"/>
<arg value="-output=${dependency.output}/feathers.swc"/>
</java>
</target>

<target name="-dependencies" depends="-starling,-feathers"/>

<target name="-swc" depends="-dependencies">
<echo message="Building feathers-compat.swc"/>
<java jar="${compc}" dir="${basedir}" fork="true" failonerror="true">
<arg value="-load-config=${airsdk.config}"/>
<arg value="-swf-version=${swf.version}"/>
<arg value="-source-path+=${source.root}"/>
<arg value="-include-sources+=${source.root}"/>
<arg value="-external-library-path+=${dependency.output}"/>
<arg value="-output=${output.path}/feathers-compat.swc"/>
</java>
</target>

<target name="-api" depends="-dependencies">
<echo message="Generating API Reference"/>
<java jar="${asdoc}" dir="${basedir}" fork="true" failonerror="true">
<arg value="+flexlib=${airsdk.framework}"/>
<arg value="-swf-version=${swf.version}"/>
<arg value="-source-path+=${source.root}"/>
<arg value="-library-path+=${dependency.output}"/>
<arg value="-doc-sources+=${source.root}"/>

<!-- these two arguments are needed after switching to the AIR SDK
with ASC 2.0 to stop weird errors -->
<arg value="-theme="/>
<arg value="-compiler.fonts.local-fonts-snapshot="/>

<arg value="-templates-path"/>
<arg value="${api.root}/templates"/>
<arg value="-main-title=feathers-compat ${feathers.compat.version} API Reference"/>
<arg value="-window-title=feathers-compat API Reference"/>
<arg value="-footer=${footer.text}"/>
<arg value="-output=${api.output}"/>
</java>
</target>

<target name="-includes">
<echo message="Copying feathers-compat source code"/>
<copy overwrite="true" todir="${source.output}">
<fileset dir="${source.root}"/>
</copy>

<echo message="Copying informational documents"/>
<copy overwrite="true" todir="${output.path}">
<fileset dir="${basedir}">
<include name="README.md"/>
<include name="LICENSE.md"/>
<include name="RELEASENOTES.md"/>
</fileset>
</copy>
</target>

<target name="-test" depends="-swc">
<java jar="${mxmlc}" dir="${test.root}/source" fork="true" failonerror="true">
<arg value="-load-config=${airsdk.config}"/>
<arg value="-swf-version=${swf.version}"/>
<arg value="-library-path+=${dependency.output}"/>
<arg value="-library-path+=${flexunit.root}"/>
<arg value="-library-path+=${output.path}"/>
<arg value="-output=${dependency.output}/TestFeathersCompat.swf"/>
<arg value="TestFeathersCompat.as"/>
</java>
<flexunit
command="${flashplayer}"
player="flash"
swf="${dependency.output}/TestFeathersCompat.swf"
haltonfailure="true"
verbose="true"
toDir="${dependency.output}"/>
</target>
</project>
16 changes: 16 additions & 0 deletions sdk.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# The location of the AIR SDK with ASC 2.0
airsdk.root = /Users/joshtynjala/Development/Flash/sdks/AIR19.0.0.241
airsdk.bin = ${airsdk.root}/bin
airsdk.lib = ${airsdk.root}/lib
airsdk.config = ${airsdk.root}/frameworks/flex-config.xml
airsdk.framework = ${airsdk.root}/frameworks

# path to compiler jars
asdoc = ${airsdk.lib}/legacy/asdoc.jar
compc = ${airsdk.lib}/compc-cli.jar
mxmlc = ${airsdk.lib}/mxmlc-cli.jar
adt = ${airsdk.lib}/adt.jar

# The location of the flexunit jar
flexunit = ${basedir}/../feathers/third-party/flexunit/flexUnitTasks-4.2.0-20140410.jar
flashplayer = /Applications/Flash Player.app/Contents/MacOS/Flash Player Debugger
Loading

0 comments on commit c76bf3e

Please sign in to comment.