Permalink
Browse files

First commit of Flare to the official Flare GitHub repository.

  • Loading branch information...
0 parents commit 870994f79d3eb22489684dd51266cb89bb360ac2 @wjwillett wjwillett committed Aug 4, 2010
Showing 301 changed files with 40,145 additions and 0 deletions.
0 README
No changes.
272 build.xml
@@ -0,0 +1,272 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project name="flare" default="usage" basedir=".">
+
+ <!-- =================================================================== -->
+ <!-- Import Flex Ant Tasks, Set Flex Home and asdoc -->
+ <!-- =================================================================== -->
+ <property name="LOCALE" value="en_US"/>
+ <property name="FLEX_HOME" value="C:/pkg/flex/"/>
+ <property name="asdoc" value="${FLEX_HOME}bin/asdoc.exe"/>
+ <taskdef resource="flexTasks.tasks"
+ classpath="${FLEX_HOME}ant/lib/flexTasks.jar" />
+
+ <!-- =================================================================== -->
+ <!-- Properties -->
+ <!-- =================================================================== -->
+ <tstamp>
+ <format property="year" pattern="yyyy" locale="en"/>
+ <format property="datetime" pattern="EE MMM d yyyy h:mm aa"/>
+ </tstamp>
+ <property name="name" value="prefuse.flare"/>
+ <property name="version" value="alpha"/>
+
+ <property name="flare.src" value="${basedir}/flare/src"/>
+ <property name="flare.lib" value="${basedir}/flare/lib"/>
+ <property name="apps.src" value="${basedir}/flare.apps/src"/>
+ <property name="demos.src" value="${basedir}/flare.demos/src"/>
+ <property name="tests.src" value="${basedir}/flare.tests/src"/>
+ <property name="tests.lib" value="${basedir}/flare.tests/lib"/>
+
+ <property name="build.dir" value="${basedir}/build"/>
+ <property name="dist.dir" value="${basedir}/build/dist"/>
+ <property name="docs.dir" value="${basedir}/docs"/>
+ <property name="api.dir" value="${docs.dir}/api/"/>
+
+ <property file="${basedir}/etc/doc.properties.txt"/>
+
+
+ <!-- =================================================================== -->
+ <!-- Help on usage -->
+ <!-- =================================================================== -->
+ <target name="usage">
+ <echo message=""/>
+ <echo message=""/>
+ <echo message="prefuse::flare build control"/>
+ <echo message="-------------------------------------------------------------"/>
+ <echo message=""/>
+ <echo message=" available targets are:"/>
+ <echo message=""/>
+ <echo message=" all --> builds flare and demos in ./build}"/>
+ <echo message=" flare --> builds the flare libraries in ./build"/>
+ <echo message=" apps --> builds the apps project in ./build"/>
+ <echo message=" demos --> builds the demos app in ./build"/>
+ <echo message=" tests --> builds the tests app in ./build"/>
+ <echo message=" docs --> builds reference documentation in ./docs/api"/>
+ <echo message=" dist --> creates the distribution in ./dist"/>
+ <echo message=" clean --> restores distribution to original state"/>
+ <echo message=" usage --> (default) displays this build menu"/>
+ <echo message=""/>
+ <echo message=" See the comments inside the build.xml file for more details."/>
+ <echo message="-------------------------------------------------------------"/>
+ <echo message=""/>
+ <echo message=""/>
+ </target>
+
+
+ <!-- =================================================================== -->
+ <!-- Prepares the build directory -->
+ <!-- =================================================================== -->
+ <target name="prepare">
+ <mkdir dir="${build.dir}"/>
+ </target>
+
+
+ <!-- =================================================================== -->
+ <!-- Compile flare toolkit -->
+ <!-- =================================================================== -->
+ <target name="flare" depends="prepare">
+ <!-- First we have to collect all the AS files -->
+ <path id="flare.files">
+ <fileset dir="${flare.src}">
+ <include name="**/**"/>
+ </fileset>
+ </path>
+ <pathconvert
+ property="flare.classes"
+ pathsep=" "
+ dirsep="."
+ refid="flare.files">
+ <map from="${flare.src}/" to=""/>
+ <mapper>
+ <chainedmapper><globmapper from="*.as" to="*"/></chainedmapper>
+ </mapper>
+ </pathconvert>
+
+ <!-- Now we build the .swc -->
+ <compc output="${build.dir}/flare.swc" include-classes="${flare.classes}">
+ <source-path path-element="${flare.src}/"/>
+ <source-path path-element="${flare.lib}/"/>
+ </compc>
+ </target>
+
+
+ <!-- =================================================================== -->
+ <!-- Compile apps -->
+ <!-- =================================================================== -->
+ <target name="apps" depends="flare">
+ <mxmlc file="${apps.src}/flare/apps/JobVoyager.as"
+ output="${build.dir}/JobVoyager.swf">
+ <source-path path-element="${apps.src}"/>
+ <compiler.library-path dir="${build.dir}">
+ <include name="flare.swc"/>
+ </compiler.library-path>
+ </mxmlc>
+ <mxmlc file="${apps.src}/flare/apps/PackageMap.as"
+ output="${build.dir}/PackageMap.swf">
+ <source-path path-element="${apps.src}"/>
+ <compiler.library-path dir="${build.dir}">
+ <include name="flare.swc"/>
+ </compiler.library-path>
+ </mxmlc>
+ <mxmlc file="${apps.src}/flare/apps/DependencyGraph.as"
+ output="${build.dir}/DependencyGraph.swf">
+ <source-path path-element="${apps.src}"/>
+ <compiler.library-path dir="${build.dir}">
+ <include name="flare.swc"/>
+ </compiler.library-path>
+ <compiler.library-path dir="${FLEX_HOME}frameworks/libs">
+ <include name="framework.swc"/>
+ </compiler.library-path>
+ </mxmlc>
+
+ </target>
+
+
+ <!-- =================================================================== -->
+ <!-- Compile demos -->
+ <!-- =================================================================== -->
+ <target name="demos" depends="flare">
+ <mxmlc file="${demos.src}/demos.as" output="${build.dir}/flare.demos.swf">
+ <compiler.library-path dir="${build.dir}">
+ <include name="flare.swc"/>
+ </compiler.library-path>
+ </mxmlc>
+ </target>
+
+
+ <!-- =================================================================== -->
+ <!-- Compile tests -->
+ <!-- =================================================================== -->
+ <target name="tests" depends="prepare,flare">
+ <mxmlc file="${tests.src}/tests.as" output="${build.dir}/flare.tests.swf">
+ <compiler.library-path dir="${build.dir}">
+ <include name="flare.swc"/>
+ </compiler.library-path>
+ <compiler.library-path dir="${tests.lib}">
+ <include name="unitest.swc"/>
+ </compiler.library-path>
+ </mxmlc>
+ </target>
+
+
+ <!-- =================================================================== -->
+ <!-- Build all in ./build -->
+ <!-- =================================================================== -->
+ <target name="all" depends="flare,demos,apps,tests"/>
+
+
+ <!-- =================================================================== -->
+ <!-- Build reference documentation in docs -->
+ <!-- =================================================================== -->
+ <target name="docs">
+ <exec executable="${asdoc}">
+ <arg value="-output=${api.dir}"/>
+ <arg value="-doc-sources=${doc.source}"/>
+ <arg value="-main-title=${doc.title}"/>
+ <arg value="-window-title=${doc.title}"/>
+ <arg value="-footer=${doc.copyright}. Created ${datetime}."/>
+ <!-- ridiculously enough, it appears all package descriptions must
+ be provided using command line arguments... -->
+ <arg value="-package=flare.analytics,${doc.flare.analytics}"/>
+ <arg value="-package=flare.analytics.cluster,${doc.flare.analytics.cluster}"/>
+ <arg value="-package=flare.analytics.graph,${doc.flare.analytics.graph}"/>
+ <arg value="-package=flare.analytics.optimization,${doc.flare.analytics.optimization}"/>
+ <arg value="-package=flare.animate,${doc.flare.animate}"/>
+ <arg value="-package=flare.animate.interpolate,${doc.flare.animate.interpolate}"/>
+ <arg value="-package=flare.data,${doc.flare.data}"/>
+ <arg value="-package=flare.data.converters,${doc.flare.data.converters}"/>
+ <arg value="-package=flare.display,${doc.flare.display}"/>
+ <arg value="-package=flare.flex,${doc.flare.flex}"/>
+ <arg value="-package=flare.physics,${doc.flare.physics}"/>
+ <arg value="-package=flare.query,${doc.flare.query}"/>
+ <arg value="-package=flare.query.methods,${doc.flare.query.methods}"/>
+ <arg value="-package=flare.scale,${doc.flare.scale}"/>
+ <arg value="-package=flare.util,${doc.flare.util}"/>
+ <arg value="-package=flare.util.heap,${doc.flare.util.heap}"/>
+ <arg value="-package=flare.util.math,${doc.flare.util.math}"/>
+ <arg value="-package=flare.util.palette,${doc.flare.util.palette}"/>
+ <arg value="-package=flare.vis,${doc.flare.vis}"/>
+ <arg value="-package=flare.vis.axis,${doc.flare.vis.axis}"/>
+ <arg value="-package=flare.vis.controls,${doc.flare.vis.controls}"/>
+ <arg value="-package=flare.vis.data,${doc.flare.vis.data}"/>
+ <arg value="-package=flare.vis.data.render,${doc.flare.vis.data.render}"/>
+ <arg value="-package=flare.vis.events,${doc.flare.vis.events}"/>
+ <arg value="-package=flare.vis.legend,${doc.flare.vis.legend}"/>
+ <arg value="-package=flare.vis.operator,${doc.flare.vis.operator}"/>
+ <arg value="-package=flare.vis.operator.distortion,${doc.flare.vis.operator.distortion}"/>
+ <arg value="-package=flare.vis.operator.filter,${doc.flare.vis.operator.filter}"/>
+ <arg value="-package=flare.vis.operator.encoder,${doc.flare.vis.operator.encoder}"/>
+ <arg value="-package=flare.vis.operator.label,${doc.flare.vis.operator.label}"/>
+ <arg value="-package=flare.vis.operator.layout,${doc.flare.vis.operator.layout}"/>
+ </exec>
+ </target>
+
+
+ <!-- =================================================================== -->
+ <!-- Build distribution in ./dist -->
+ <!-- =================================================================== -->
+ <target name="dist" depends="clean,prepare,flare,demos">
+ <mkdir dir="${dist.dir}"/>
+
+ <!-- copy flare libraries -->
+ <copy todir="${dist.dir}">
+ <fileset dir="${basedir}" casesensitive="yes">
+ <include name="flare/**"/>
+ <include name="flare.tests/**"/>
+ <include name="flare.demos/**"/>
+ <include name="flare.apps/**"/>
+ <include name="etc/**"/>
+ <include name="*"/>
+ <exclude name="build/**"/>
+ <exclude name="**/.*"/>
+ <exclude name="**/bin/**"/>
+ <exclude name="**/bin-debug/**"/>
+ <exclude name="**/bin-release/**"/>
+ </fileset>
+ <fileset dir="${basedir}" casesensitive="yes">
+ <include name="**/.project"/>
+ <include name="**/.flexLibProperties"/>
+ <include name="**/.actionScriptProperties"/>
+ </fileset>
+ </copy>
+
+ <!-- copy binaries -->
+ <copy todir="${dist.dir}/build">
+ <fileset dir="${build.dir}">
+ <include name="*.swc"/>
+ <include name="*.swf"/>
+ </fileset>
+ </copy>
+
+ <fixcrlf srcdir="${dist.dir}"
+ eol="lf" eof="remove"
+ tablength="4" tab="remove"
+ includes="**/*.sh"
+ />
+ <zip zipfile="${build.dir}/${name}-${version}-${DSTAMP}.zip"
+ basedir="${dist.dir}"
+ whenempty="create"
+ />
+ <delete dir="${dist.dir}"/>
+ </target>
+
+
+ <!-- =================================================================== -->
+ <!-- Clean restores the distribution to original state -->
+ <!-- =================================================================== -->
+ <target name="clean">
+ <delete dir="${build.dir}"/>
+ <delete dir="${docs.dir}"/>
+ </target>
+
+</project>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,39 @@
+# text strings to use in the API documentation
+doc.title=Flare API Documention
+doc.copyright=&#169; 2007-2008 Regents of the University of California
+
+# source folders from which to generate ASDoc documentation
+doc.source=flare/src,flare/lib
+
+# package-level documentation properties for use in the flare API documention
+doc.flare.analytics=The flare.analytics package provides classes for analyzing data and optimizing presentation.
+doc.flare.analytics.cluster=The flare.analytics.cluster package provides classes for clustering data into groups.
+doc.flare.analytics.graph=The flare.analytics.graph package provides classes for analyzing network structures.
+doc.flare.analytics.optimization=The flare.analytics.optimization package provides classes for optimizing the presentation of visualizations.
+doc.flare.animate=The flare.animate package provides classes for creating animated transitions.
+doc.flare.animate.interpolate=The flare.animate.interpolate package provides classes for interpolating object property values.
+doc.flare.data=The flare.data package provides classes for describing and importing external data sets.
+doc.flare.data.converters=The flare.data.converters package provides classes for converting data between external formats and ActionScript objects.
+doc.flare.display=The flare.display package provides classes for display objects that automatically redraw themselves as needed.
+doc.flare.flex=The flare.flex package provides classes for integrating Flare visualizations into Flex applications.
+doc.flare.physics=The flare.physics package provides classes for physical simulations involving particles&#44; springs&#44; and forces.
+doc.flare.query=The flare.query package provides classes for creating and processing SQL-style queries over ActionScript objects.
+doc.flare.query.methods=The flare.query.methods package provides convenience methods for writing queries and expressions.
+doc.flare.util=The flare.util package provides classes for manipulating common data types and accessing object properties in a generalized fashion.
+doc.flare.util.heap=The flare.util.heap package provides a heap data structure for a priority queue.
+doc.flare.util.math=The flare.util.math package provides data structures and classes for specialized mathematics.
+doc.flare.util.palette=The flare.util.palette package provides classes for color&#44; shape&#44; and size palettes for visual encoding.
+doc.flare.scale=The flare.vis.scale package provides classes for data scales such as linear&#44; logarithmic&#44; and ordinal scales.
+doc.flare.vis=The flare.vis package provides classes for creating interactive data visualizations.
+doc.flare.vis.axis=The flare.vis.axis package provides classes for presenting and animating axes in a data visualization.
+doc.flare.vis.controls=The flare.vis.controls package provides classes for interacting with data visualizations.
+doc.flare.vis.data=The flare.vis.data package provides classes for visually representing data elements as <code>DataSprite</code> instances.
+doc.flare.vis.data.render=The flare.vis.data.render package provides classes for customized rendering of <code>DataSprite</code> instances.
+doc.flare.vis.events=The flare.vis.events package provides classes for events issued in the flare.vis visualization framework.
+doc.flare.vis.legend=The flare.vis.legend package provides classes for presenting legends for data visualizations.
+doc.flare.vis.operator=The flare.vis.operator package provides classes for visualization operators for encoding and processing visualized data.
+doc.flare.vis.operator.distortion=The flare.vis.operator.distortion package provides classes for distorting the position and size of visualized data.
+doc.flare.vis.operator.filter=The flare.vis.operator.filter package provides classes for visually filtering items by setting their visibility.
+doc.flare.vis.operator.encoder=The flare.vis.operator.encoding package provides classes for visually encoding properties such as color&#44; shape&#44; and size.
+doc.flare.vis.operator.label=The flare.vis.operator.label package provides classes for creating and positioning labels.
+doc.flare.vis.operator.layout=The flare.vis.operator.layout package provides classes for calculating the spatial position of visualized data.
Binary file not shown.
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<actionScriptProperties mainApplicationPath="apps.as" version="3">
+ <compiler additionalCompilerArguments="" copyDependentFiles="true" enableModuleDebug="true" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersion="9.0.28" htmlPlayerVersionCheck="true" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" useApolloConfig="false" verifyDigests="true" warn="true">
+ <compilerSourcePath/>
+ <libraryPath defaultLinkType="1">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="1" linkType="1" path="${PROJECT_FRAMEWORKS}/locale/{locale}"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/qtp.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/rpc.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/framework.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/datavisualization.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_dmv.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_flashflexkit.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_agent.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ <libraryPathEntry kind="3" linkType="1" path="/flare/bin/flare.swc" useDefaultLinkType="false"/>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="flare/apps/JobVoyager.as"/>
+ <application path="flare/apps/DependencyGraph.as"/>
+ <application path="flare/apps/PackageMap.as"/>
+ </applications>
+ <modules/>
+ <buildCSSFiles/>
+</actionScriptProperties>
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>flare.apps</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,3 @@
+#Sat Jun 14 10:53:05 PDT 2008
+eclipse.preferences.version=1
+encoding/<project>=utf-8
@@ -0,0 +1,3 @@
+#Mon Jul 28 18:50:46 PDT 2008
+eclipse.preferences.version=1
+org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
Oops, something went wrong.

0 comments on commit 870994f

Please sign in to comment.