Permalink
Browse files

Commit of the most recent development branch of Flare as of 4 August …

…2010. This branch includes some fairly dramatic changes from the master version (circa 24 January 2009), namely the replacement of most instances of the AS3 'Array' class with typed 'Vector.<Object>' vectors. It also upgrades the projects to work in Flash Builder 4 and condenses a number of fixes made on the the old internal development branch at Berkeley.

The switch from Arrays to Vectors provides a small performance improvement, but also entailed changes to most of the library including all of the Operators. This means that any applications which interact with Arrays on Flare components or which extend them are likely to break upon upgrading to this version.
The effort cost of using Vectors instead of Arrays is relatively high - it introduces a lot of additional casting and typing considerations that developers didn't have to deal with previously - and in the end that may not be worth the moderate increase in performance. Developers using Flare should consider this tradeoff when deciding whether or not to use this branch and future Flare developers may want to consider whether or not future development should proceed from the master rather than this branch.

In addition to these changes, this branch packages a number of smaller fixes committed to the old internal SVN master at Berkeley.
The change log from that old repository (4 Aug 2010 - 24 Jan 2009) follows:

---------------------------------------------------------------------------
r253 | willettw | 2010-08-04 13:47:38 PDT

Updated to work with Flash Builder 4.
----------------------------------------------------------------------------
r252 | willettw | 2010-08-04 13:46:22 PDT

ShapeRenderer now supports LINE and CARDINAL as shape types when rendering.
----------------------------------------------------------------------------
r251 | willettw | 2010-08-04 13:45:19 PDT

Private->protected changes on Operator and StackedAreaLayout to make subclassing easier.
----------------------------------------------------------------------------
r250 | willettw | 2010-08-04 13:44:37 PDT

Fixed stacking issue where hidden marks could still show up in a stack.
----------------------------------------------------------------------------
r249 | willettw | 2010-08-04 13:42:51 PDT

Private->protected changes on several key controls to make subclassing easier. Fixed a crash-inducing bug in TooltipControl.
----------------------------------------------------------------------------
r245 | willettw | 2010-08-04 13:24:34 PDT

Added a clipping rectangle fix to the thumbnailing method in Displays and a drawLine method (analogous to the existing drawPolygon but without an automatic join between the two ends) to Shapes.
----------------------------------------------------------------------------
r244 | willettw | 2009-03-08 03:51:48 PDT

More general constructor for CompositeExpression
Added DATE() method to date util and Fn.
----------------------------------------------------------------------------
r243 | willettw | 2009-02-28 23:54:08 PST

Changes to help support Axis labeling. Added a title and properties for adjusting it to the Axis class, although it is still laid out incorrectly and often isn't visible.
----------------------------------------------------------------------------
r242 | willettw | 2009-02-09 12:25:14 PST

Fixed error when removing axis label overlaps.
----------------------------------------------------------------------------
r241 | willettw | 2009-02-03 17:57:08 PST
----------------------------------------------------------------------------
r240 | nkong | 2009-01-30 19:52:12 PST

Changed the _children member type of CompositeExpression from Array to Vector.<Object>. This required further changes in a few other classes inside flare.query.
----------------------------------------------------------------------------
r239 | nkong | 2009-01-29 21:52:50 PST

Changed the JSONConverter parse function back to returning an Array, mainly to keep in line with the Adobe JSON classes.

Also, Query is now using and returning Vector.<Object> objects, which should help things.
----------------------------------------------------------------------------
r238 | willettw | 2009-01-28 16:51:37 PST

A few more FP10 related changes. Includes fixes for Object Vector handling in Sort and Data.
A number of additional query operators have default arguments added to their constructors added so that they can be instantiated by name if desired.
----------------------------------------------------------------------------
r237 | nkong | 2009-01-27 17:26:15 PST

Fixed Vector Interpolation error, JobVoyager test app works.
----------------------------------------------------------------------------
r235 | nkong | 2009-01-27 01:48:12 PST

Where feasible, all Arrays moved to Vector.<Object> instances. I left Arrays alone in the Interpolator and Query classes primarily for (a) convenience, and (b) use of Array as associative arrays. Otherwise, most Arrays have been replaced in the code.

Note: A strange transitioner bug needs to be ironed out in the JobVoyager sample application. Shapes are not tweening, but axes and labels are.
----------------------------------------------------------------------------
  • Loading branch information...
wjwillett committed Aug 4, 2010
1 parent 870994f commit 7aac08a77d00cf09849058dd433b58efbf414bd6
Showing with 1,805 additions and 1,045 deletions.
  1. +5 −0 README
  2. +33 −32 flare.apps/.actionScriptProperties
  3. 0 flare.apps/.project
  4. 0 flare.apps/.settings/org.eclipse.core.resources.prefs
  5. 0 flare.apps/.settings/org.eclipse.ltk.core.refactoring.prefs
  6. 0 flare.apps/etc/CodeExtract.py
  7. 0 flare.apps/html-template/AC_OETags.js
  8. 0 flare.apps/html-template/deeplinking/deeplinking.css
  9. 0 flare.apps/html-template/deeplinking/deeplinking.js
  10. 0 flare.apps/html-template/deeplinking/historyFrame.html
  11. 0 flare.apps/html-template/index.template.html
  12. BIN flare.apps/html-template/playerProductInstall.swf
  13. 0 flare.apps/src/flare/apps/App.as
  14. +2 −2 flare.apps/src/flare/apps/DependencyGraph.as
  15. +7 −7 flare.apps/src/flare/apps/JobVoyager.as
  16. 0 flare.apps/src/flare/apps/PackageMap.as
  17. BIN flare.apps/src/flare/apps/verdana.TTF
  18. 0 flare.apps/src/flare/widgets/FlareLogo.as
  19. 0 flare.apps/src/flare/widgets/PreLoader.as
  20. 0 flare.apps/src/flare/widgets/ProgressBar.as
  21. 0 flare.apps/src/flare/widgets/SearchBox.as
  22. +30 −29 flare.demos/.actionScriptProperties
  23. 0 flare.demos/.project
  24. +3 −0 flare.demos/.settings/com.adobe.flexbuilder.project.prefs
  25. 0 flare.demos/html-template/AC_OETags.js
  26. 0 flare.demos/html-template/deeplinking/deeplinking.css
  27. 0 flare.demos/html-template/deeplinking/deeplinking.js
  28. 0 flare.demos/html-template/deeplinking/historyFrame.html
  29. 0 flare.demos/html-template/index.template.html
  30. BIN flare.demos/html-template/playerProductInstall.swf
  31. 0 flare.demos/src/FlareLogo.as
  32. 0 flare.demos/src/demos.as
  33. 0 flare.demos/src/flare/demos/Animation.as
  34. 0 flare.demos/src/flare/demos/Bars.as
  35. 0 flare.demos/src/flare/demos/Demo.as
  36. 0 flare.demos/src/flare/demos/Distortions.as
  37. 0 flare.demos/src/flare/demos/Layouts.as
  38. 0 flare.demos/src/flare/demos/Pie.as
  39. 0 flare.demos/src/flare/demos/Scatter.as
  40. 0 flare.demos/src/flare/demos/Smoke.as
  41. 0 flare.demos/src/flare/demos/Stacks.as
  42. 0 flare.demos/src/flare/demos/Timeline.as
  43. 0 flare.demos/src/flare/demos/TreeMap.as
  44. 0 flare.demos/src/flare/demos/util/GraphUtil.as
  45. 0 flare.demos/src/flare/demos/util/Link.as
  46. 0 flare.demos/src/flare/demos/util/LinkGroup.as
  47. +30 −30 flare.tests/.actionScriptProperties
  48. 0 flare.tests/.project
  49. +3 −0 flare.tests/.settings/com.adobe.flexbuilder.project.prefs
  50. 0 flare.tests/html-template/AC_OETags.js
  51. 0 flare.tests/html-template/deeplinking/deeplinking.css
  52. 0 flare.tests/html-template/deeplinking/deeplinking.js
  53. 0 flare.tests/html-template/deeplinking/historyFrame.html
  54. 0 flare.tests/html-template/index.template.html
  55. BIN flare.tests/html-template/playerProductInstall.swf
  56. BIN flare.tests/lib/unitest.swc
  57. +4 −3 flare.tests/src/flare/tests/AnimationTests.as
  58. 0 flare.tests/src/flare/tests/DataIOTests.as
  59. 0 flare.tests/src/flare/tests/DataTests.as
  60. +10 −8 flare.tests/src/flare/tests/ExpressionTests.as
  61. 0 flare.tests/src/flare/tests/MatrixTests.as
  62. +44 −0 flare.tests/src/flare/tests/SortTests.as
  63. 0 flare.tests/src/flare/tests/StringFormatTests.as
  64. 0 flare.tests/src/flare/tests/TreeTests.as
  65. 0 flare.tests/src/tests.as
  66. +21 −17 flare/.actionScriptProperties
  67. +227 −227 flare/.flexLibProperties
  68. 0 flare/.project
  69. +3 −0 flare/.settings/com.adobe.flexbuilder.project.prefs
  70. 0 flare/.settings/org.eclipse.core.resources.prefs
  71. 0 flare/lib/com/adobe/serialization/json/JSON.as
  72. 0 flare/lib/com/adobe/serialization/json/JSONDecoder.as
  73. 0 flare/lib/com/adobe/serialization/json/JSONEncoder.as
  74. 0 flare/lib/com/adobe/serialization/json/JSONParseError.as
  75. 0 flare/lib/com/adobe/serialization/json/JSONToken.as
  76. 0 flare/lib/com/adobe/serialization/json/JSONTokenType.as
  77. 0 flare/lib/com/adobe/serialization/json/JSONTokenizer.as
  78. 0 flare/manifest.xml
  79. +2 −2 flare/src/flare/analytics/cluster/AgglomerativeCluster.as
  80. +2 −2 flare/src/flare/analytics/cluster/CommunityStructure.as
  81. +8 −6 flare/src/flare/analytics/cluster/HierarchicalCluster.as
  82. 0 flare/src/flare/analytics/cluster/MergeEdge.as
  83. +10 −4 flare/src/flare/analytics/graph/BetweennessCentrality.as
  84. 0 flare/src/flare/analytics/graph/LinkDistance.as
  85. +8 −2 flare/src/flare/analytics/graph/MaxFlowMinCut.as
  86. +6 −2 flare/src/flare/analytics/graph/ShortestPaths.as
  87. 0 flare/src/flare/analytics/graph/SpanningTree.as
  88. +14 −14 flare/src/flare/analytics/optimization/AspectRatioBanker.as
  89. 0 flare/src/flare/animate/Easing.as
  90. +10 −10 flare/src/flare/animate/FunctionSequence.as
  91. 0 flare/src/flare/animate/ISchedulable.as
  92. +4 −4 flare/src/flare/animate/Parallel.as
  93. 0 flare/src/flare/animate/Pause.as
  94. +4 −2 flare/src/flare/animate/Scheduler.as
  95. +9 −8 flare/src/flare/animate/Sequence.as
  96. 0 flare/src/flare/animate/Transition.as
  97. 0 flare/src/flare/animate/TransitionEvent.as
  98. +5 −3 flare/src/flare/animate/Transitioner.as
  99. +5 −5 flare/src/flare/animate/Tween.as
  100. 0 flare/src/flare/animate/interpolate/ArrayInterpolator.as
  101. 0 flare/src/flare/animate/interpolate/ColorInterpolator.as
  102. 0 flare/src/flare/animate/interpolate/DateInterpolator.as
  103. +5 −0 flare/src/flare/animate/interpolate/Interpolator.as
  104. 0 flare/src/flare/animate/interpolate/MatrixInterpolator.as
  105. 0 flare/src/flare/animate/interpolate/NumberInterpolator.as
  106. 0 flare/src/flare/animate/interpolate/ObjectInterpolator.as
  107. 0 flare/src/flare/animate/interpolate/PointInterpolator.as
  108. 0 flare/src/flare/animate/interpolate/RectangleInterpolator.as
  109. +63 −0 flare/src/flare/animate/interpolate/VectorInterpolator.as
  110. 0 flare/src/flare/data/DataField.as
  111. +6 −6 flare/src/flare/data/DataSchema.as
  112. 0 flare/src/flare/data/DataSet.as
  113. +1 −0 flare/src/flare/data/DataSource.as
  114. +4 −4 flare/src/flare/data/DataTable.as
  115. +7 −5 flare/src/flare/data/DataUtil.as
  116. 0 flare/src/flare/data/converters/Converters.as
  117. +7 −8 flare/src/flare/data/converters/DelimitedTextConverter.as
  118. +5 −3 flare/src/flare/data/converters/GraphMLConverter.as
  119. 0 flare/src/flare/data/converters/IDataConverter.as
  120. +5 −6 flare/src/flare/data/converters/JSONConverter.as
  121. +3 −1 flare/src/flare/display/DirtySprite.as
  122. 0 flare/src/flare/display/LineSprite.as
  123. 0 flare/src/flare/display/RectSprite.as
  124. 0 flare/src/flare/display/TextSprite.as
  125. +7 −5 flare/src/flare/flex/FlareVis.as
  126. 0 flare/src/flare/physics/DragForce.as
  127. 0 flare/src/flare/physics/GravityForce.as
  128. 0 flare/src/flare/physics/IForce.as
  129. +1 −1 flare/src/flare/physics/NBodyForce.as
  130. 0 flare/src/flare/physics/Particle.as
  131. +13 −13 flare/src/flare/physics/Simulation.as
  132. 0 flare/src/flare/physics/Spring.as
  133. 0 flare/src/flare/physics/SpringForce.as
  134. 0 flare/src/flare/query/AggregateExpression.as
  135. +4 −2 flare/src/flare/query/And.as
  136. +1 −1 flare/src/flare/query/Arithmetic.as
  137. +1 −1 flare/src/flare/query/Average.as
  138. 0 flare/src/flare/query/BinaryExpression.as
  139. 0 flare/src/flare/query/Comparison.as
  140. +16 −12 flare/src/flare/query/CompositeExpression.as
  141. +1 −1 flare/src/flare/query/Count.as
  142. +6 −1 flare/src/flare/query/DateUtil.as
  143. +1 −1 flare/src/flare/query/Distinct.as
  144. 0 flare/src/flare/query/Expression.as
  145. +8 −8 flare/src/flare/query/ExpressionIterator.as
  146. +12 −3 flare/src/flare/query/Fn.as
  147. 0 flare/src/flare/query/If.as
  148. 0 flare/src/flare/query/IsA.as
  149. 0 flare/src/flare/query/Literal.as
  150. 0 flare/src/flare/query/Match.as
  151. +1 −1 flare/src/flare/query/Maximum.as
  152. +1 −1 flare/src/flare/query/Minimum.as
  153. 0 flare/src/flare/query/Not.as
  154. 0 flare/src/flare/query/Or.as
  155. +18 −11 flare/src/flare/query/Query.as
  156. +6 −3 flare/src/flare/query/Range.as
  157. 0 flare/src/flare/query/StringUtil.as
  158. +1 −1 flare/src/flare/query/Sum.as
  159. 0 flare/src/flare/query/Variable.as
  160. +1 −1 flare/src/flare/query/Variance.as
  161. 0 flare/src/flare/query/Xor.as
  162. 0 flare/src/flare/query/methods/_.as
  163. 0 flare/src/flare/query/methods/add.as
  164. +2 −1 flare/src/flare/query/methods/and.as
  165. 0 flare/src/flare/query/methods/average.as
  166. 0 flare/src/flare/query/methods/count.as
  167. 0 flare/src/flare/query/methods/distinct.as
  168. 0 flare/src/flare/query/methods/div.as
  169. 0 flare/src/flare/query/methods/eq.as
  170. +2 −1 flare/src/flare/query/methods/fn.as
  171. 0 flare/src/flare/query/methods/gt.as
  172. 0 flare/src/flare/query/methods/gte.as
  173. 0 flare/src/flare/query/methods/iff.as
  174. 0 flare/src/flare/query/methods/isa.as
  175. 0 flare/src/flare/query/methods/lt.as
  176. 0 flare/src/flare/query/methods/lte.as
  177. 0 flare/src/flare/query/methods/max.as
  178. 0 flare/src/flare/query/methods/min.as
  179. 0 flare/src/flare/query/methods/mod.as
  180. 0 flare/src/flare/query/methods/mul.as
  181. 0 flare/src/flare/query/methods/neq.as
  182. 0 flare/src/flare/query/methods/not.as
  183. +2 −1 flare/src/flare/query/methods/or.as
  184. 0 flare/src/flare/query/methods/orderby.as
  185. 0 flare/src/flare/query/methods/range.as
  186. 0 flare/src/flare/query/methods/select.as
  187. 0 flare/src/flare/query/methods/stddev.as
  188. 0 flare/src/flare/query/methods/sub.as
  189. 0 flare/src/flare/query/methods/sum.as
  190. 0 flare/src/flare/query/methods/update.as
  191. 0 flare/src/flare/query/methods/variance.as
  192. 0 flare/src/flare/query/methods/where.as
  193. +2 −1 flare/src/flare/query/methods/xor.as
  194. 0 flare/src/flare/scale/IScaleMap.as
  195. 0 flare/src/flare/scale/LinearScale.as
  196. +2 −2 flare/src/flare/scale/LogScale.as
  197. +14 −14 flare/src/flare/scale/OrdinalScale.as
  198. +6 −6 flare/src/flare/scale/QuantileScale.as
  199. +2 −2 flare/src/flare/scale/QuantitativeScale.as
  200. 0 flare/src/flare/scale/RootScale.as
  201. +2 −2 flare/src/flare/scale/Scale.as
  202. 0 flare/src/flare/scale/ScaleType.as
  203. +2 −2 flare/src/flare/scale/TimeScale.as
  204. 0 flare/src/flare/util/Arrays.as
  205. +12 −6 flare/src/flare/util/Colors.as
  206. 0 flare/src/flare/util/Dates.as
  207. +8 −6 flare/src/flare/util/Displays.as
  208. 0 flare/src/flare/util/Filter.as
  209. +38 −35 flare/src/flare/util/Geometry.as
  210. 0 flare/src/flare/util/IEvaluable.as
  211. 0 flare/src/flare/util/IPredicate.as
  212. 0 flare/src/flare/util/IValueProxy.as
  213. +21 −16 flare/src/flare/util/Maths.as
  214. 0 flare/src/flare/util/Orientation.as
  215. +6 −4 flare/src/flare/util/Property.as
  216. +74 −50 flare/src/flare/util/Shapes.as
  217. +23 −15 flare/src/flare/util/Sort.as
  218. +11 −11 flare/src/flare/util/Stats.as
  219. 0 flare/src/flare/util/Strings.as
  220. +324 −0 flare/src/flare/util/Vectors.as
  221. +21 −21 flare/src/flare/util/heap/FibonacciHeap.as
  222. 0 flare/src/flare/util/heap/HeapNode.as
  223. +9 −9 flare/src/flare/util/math/DenseMatrix.as
  224. 0 flare/src/flare/util/math/IMatrix.as
  225. 0 flare/src/flare/util/math/SparseMatrix.as
  226. +31 −20 flare/src/flare/util/palette/ColorPalette.as
  227. +5 −5 flare/src/flare/util/palette/Palette.as
  228. +2 −2 flare/src/flare/util/palette/ShapePalette.as
  229. +1 −1 flare/src/flare/util/palette/SizePalette.as
  230. +2 −0 flare/src/flare/vis/Visualization.as
  231. 0 flare/src/flare/vis/axis/Axes.as
  232. +90 −34 flare/src/flare/vis/axis/Axis.as
  233. 0 flare/src/flare/vis/axis/AxisGridLine.as
  234. 0 flare/src/flare/vis/axis/AxisLabel.as
  235. 0 flare/src/flare/vis/axis/CartesianAxes.as
  236. 0 flare/src/flare/vis/controls/AnchorControl.as
  237. 0 flare/src/flare/vis/controls/ClickControl.as
  238. 0 flare/src/flare/vis/controls/Control.as
  239. +12 −12 flare/src/flare/vis/controls/ControlList.as
  240. 0 flare/src/flare/vis/controls/DragControl.as
  241. 0 flare/src/flare/vis/controls/ExpandControl.as
  242. +5 −5 flare/src/flare/vis/controls/HoverControl.as
  243. 0 flare/src/flare/vis/controls/IControl.as
  244. +1 −0 flare/src/flare/vis/controls/PanZoomControl.as
  245. +25 −23 flare/src/flare/vis/controls/SelectionControl.as
  246. +2 −0 flare/src/flare/vis/controls/TooltipControl.as
  247. +37 −19 flare/src/flare/vis/data/Data.as
  248. +28 −11 flare/src/flare/vis/data/DataList.as
  249. +5 −5 flare/src/flare/vis/data/DataSprite.as
  250. 0 flare/src/flare/vis/data/EdgeSprite.as
  251. +22 −19 flare/src/flare/vis/data/NodeSprite.as
  252. +8 −8 flare/src/flare/vis/data/ScaleBinding.as
  253. 0 flare/src/flare/vis/data/Tree.as
  254. +4 −1 flare/src/flare/vis/data/TreeBuilder.as
  255. 0 flare/src/flare/vis/data/render/ArrowType.as
  256. +8 −8 flare/src/flare/vis/data/render/EdgeRenderer.as
  257. 0 flare/src/flare/vis/data/render/IRenderer.as
  258. +9 −0 flare/src/flare/vis/data/render/ShapeRenderer.as
  259. +21 −6 flare/src/flare/vis/events/DataEvent.as
  260. 0 flare/src/flare/vis/events/SelectionEvent.as
  261. 0 flare/src/flare/vis/events/TooltipEvent.as
  262. 0 flare/src/flare/vis/events/VisualizationEvent.as
  263. +27 −11 flare/src/flare/vis/legend/Legend.as
  264. 0 flare/src/flare/vis/legend/LegendItem.as
  265. +7 −6 flare/src/flare/vis/legend/LegendRange.as
  266. 0 flare/src/flare/vis/operator/IOperator.as
  267. +2 −2 flare/src/flare/vis/operator/Operator.as
  268. +11 −11 flare/src/flare/vis/operator/OperatorList.as
  269. +6 −4 flare/src/flare/vis/operator/OperatorSequence.as
  270. 0 flare/src/flare/vis/operator/OperatorSwitch.as
  271. 0 flare/src/flare/vis/operator/SortOperator.as
  272. 0 flare/src/flare/vis/operator/distortion/BifocalDistortion.as
  273. 0 flare/src/flare/vis/operator/distortion/Distortion.as
  274. 0 flare/src/flare/vis/operator/distortion/FisheyeDistortion.as
  275. 0 flare/src/flare/vis/operator/encoder/ColorEncoder.as
  276. 0 flare/src/flare/vis/operator/encoder/Encoder.as
  277. 0 flare/src/flare/vis/operator/encoder/PropertyEncoder.as
  278. 0 flare/src/flare/vis/operator/encoder/ShapeEncoder.as
  279. 0 flare/src/flare/vis/operator/encoder/SizeEncoder.as
  280. +4 −4 flare/src/flare/vis/operator/filter/FisheyeTreeFilter.as
  281. +8 −5 flare/src/flare/vis/operator/filter/GraphDistanceFilter.as
  282. 0 flare/src/flare/vis/operator/filter/VisibilityFilter.as
  283. 0 flare/src/flare/vis/operator/label/Labeler.as
  284. 0 flare/src/flare/vis/operator/label/RadialLabeler.as
  285. +6 −6 flare/src/flare/vis/operator/label/StackedAreaLabeler.as
  286. +2 −2 flare/src/flare/vis/operator/layout/AxisLayout.as
  287. +14 −10 flare/src/flare/vis/operator/layout/BundledEdgeRouter.as
  288. 0 flare/src/flare/vis/operator/layout/CircleLayout.as
  289. +12 −10 flare/src/flare/vis/operator/layout/CirclePackingLayout.as
  290. +4 −2 flare/src/flare/vis/operator/layout/DendrogramLayout.as
  291. 0 flare/src/flare/vis/operator/layout/ForceDirectedLayout.as
  292. 0 flare/src/flare/vis/operator/layout/IcicleTreeLayout.as
  293. +13 −11 flare/src/flare/vis/operator/layout/IndentedTreeLayout.as
  294. +1 −1 flare/src/flare/vis/operator/layout/Layout.as
  295. +7 −6 flare/src/flare/vis/operator/layout/NodeLinkTreeLayout.as
  296. 0 flare/src/flare/vis/operator/layout/PieLayout.as
  297. +8 −7 flare/src/flare/vis/operator/layout/RadialTreeLayout.as
  298. 0 flare/src/flare/vis/operator/layout/RandomLayout.as
  299. +49 −37 flare/src/flare/vis/operator/layout/StackedAreaLayout.as
  300. +9 −7 flare/src/flare/vis/operator/layout/TreeMapLayout.as
View
5 README
@@ -0,0 +1,5 @@
+Flare is an ActionScript library for creating visualizations that run in the Adobe Flash Player. From basic charts and graphs to complex interactive graphics, the toolkit supports data management, visual encoding, animation, and interaction techniques.
+
+Flare is a creation of the UC Berkeley Visualization Lab http://vis.berkeley.edu/. For more information see license-flare.txt and http://flare.prefuse.org/.
+
+This repository was initially created from the release available at http://downloads.sourceforge.net/prefuse/prefuse.flare-alpha-20090124.zip
View
65 flare.apps/.actionScriptProperties 100644 → 100755
@@ -1,32 +1,33 @@
-<?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>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<actionScriptProperties analytics="false" mainApplicationPath="apps.as" projectUUID="e5019328-59cb-4753-bd52-36f148c077ac" version="6">
+ <compiler additionalCompilerArguments="" autoRSLOrdering="true" copyDependentFiles="true" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" 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/datavisualization.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/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="2" path="${PROJECT_FRAMEWORKS}/libs/player/{targetPlayerMajorVersion}/playerglobal.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="${DOCUMENTS}/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>
View
0 flare.apps/.project 100644 → 100755
No changes.
No changes.
No changes.
View
0 flare.apps/etc/CodeExtract.py 100644 → 100755
No changes.
View
No changes.
No changes.
View
No changes.
No changes.
View
No changes.
View
No changes.
View
0 flare.apps/src/flare/apps/App.as 100644 → 100755
No changes.
View
@@ -34,7 +34,7 @@ package flare.apps
public class DependencyGraph extends App
{
/** We will be rotating text, so we embed the font. */
- [Embed(source="verdana.TTF", fontName="Verdana")]
+ [Embed(source="verdana.TTF", fontName="Verdana",embedAsCFF=false)]
private static var _font:Class;
private var _url:String =
@@ -202,7 +202,7 @@ package flare.apps
private function showAllDeps(evt:SelectionEvent, linkType:int):void
{
// first, do a breadth-first-search to compute closure
- var q:Array = evt.items.slice();
+ var q:Vector.<Object> = evt.items.slice();
var map:Dictionary = new Dictionary();
while (q.length > 0) {
var u:NodeSprite = q.shift();
View
@@ -71,9 +71,9 @@ package flare.apps
_bar.loadURL(ldr, function():void {
// get loaded data, reshape for stacked columns
var ds:DataSet = ldr.data as DataSet;
- var dr:Array = reshape(ds.nodes.data, ["occupation","sex"],
+ var dr:Vector.<Object> = reshape(ds.nodes.data, ["occupation","sex"],
"year", "people", _cols);
- visualize(Data.fromArray(dr));
+ visualize(Data.fromVector(dr));
_bar = null;
});
}
@@ -300,7 +300,7 @@ package flare.apps
* yearly data is stored in individual rows, this method can be used to
* map each year into a column and the full time series into a single
* row. This is often needed to use the stacked area layout.
- * @param tuples an array of data tuples
+ * @param tuples an object vector of data tuples
* @param cats the category values to maintain
* @param dim the dimension upon which to pivot. The values of this
* property should correspond to the names of newly created columns.
@@ -310,12 +310,12 @@ package flare.apps
* match the values of the <code>dim</code> property.
* @param normalize a flag indicating if the data should be normalized
*/
- public static function reshape(tuples:Array, cats:Array, dim:String,
- measure:String, cols:Array, normalize:Boolean=true):Array
+ public static function reshape(tuples:Vector.<Object>, cats:Array, dim:String,
+ measure:String, cols:Array, normalize:Boolean=true):Vector.<Object>
{
var t:Object, d:Object, val:Object, name:String;
- var data:Array = [], names:Array = []
- var totals:Object = {};
+ var data:Vector.<Object> = new Vector.<Object>();
+ var totals:Object = {}, names:Object = {};
for each (val in cols) totals[val] = 0;
// create data set
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
@@ -1,29 +1,30 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<actionScriptProperties mainApplicationPath="demos.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/charts.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/datavisualization.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/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_agent.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="1" path="/flare/bin/flare.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="demos.as"/>
- </applications>
- <modules/>
- <buildCSSFiles/>
-</actionScriptProperties>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<actionScriptProperties analytics="false" mainApplicationPath="demos.as" projectUUID="0f3e667a-2f28-4a97-8138-aa33ba25dac1" version="6">
+ <compiler additionalCompilerArguments="" autoRSLOrdering="true" copyDependentFiles="true" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" 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/charts.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/datavisualization.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/automation.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_dmv.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="2" path="${PROJECT_FRAMEWORKS}/libs/player/{targetPlayerMajorVersion}/playerglobal.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="demos.as"/>
+ </applications>
+ <modules/>
+ <buildCSSFiles/>
+</actionScriptProperties>
View
0 flare.demos/.project 100644 → 100755
No changes.
@@ -0,0 +1,3 @@
+#Mon Jul 19 23:06:24 PDT 2010
+eclipse.preferences.version=1
+upgradeSDK/fb4=
View
No changes.
No changes.
No changes.
No changes.
View
No changes.
View
No changes.
View
0 flare.demos/src/FlareLogo.as 100644 → 100755
No changes.
View
0 flare.demos/src/demos.as 100644 → 100755
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
@@ -1,30 +1,30 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<actionScriptProperties mainApplicationPath="tests.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_agent.swc" useDefaultLinkType="false"/>
- </excludedEntries>
- </libraryPathEntry>
- <libraryPathEntry kind="3" linkType="1" path="lib/unitest.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="3" linkType="1" path="/flare/bin/flare.swc" useDefaultLinkType="false"/>
- </libraryPath>
- <sourceAttachmentPath/>
- </compiler>
- <applications>
- <application path="tests.as"/>
- </applications>
- <modules/>
- <buildCSSFiles/>
-</actionScriptProperties>
+<?xml version="1.0" encoding="UTF-8"?>
+<actionScriptProperties mainApplicationPath="tests.as" version="3">
+<compiler additionalCompilerArguments="" copyDependentFiles="true" enableModuleDebug="true" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersion="10.0.0" 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.swc" useDefaultLinkType="false"/>
+<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_agent.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/automation_charts.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_dmv.swc" useDefaultLinkType="false"/>
+<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/framework.swc" useDefaultLinkType="false"/>
+</excludedEntries>
+</libraryPathEntry>
+<libraryPathEntry kind="3" linkType="1" path="lib/unitest.swc" useDefaultLinkType="false"/>
+<libraryPathEntry kind="3" linkType="1" path="/flare/bin/flare.swc" useDefaultLinkType="false"/>
+</libraryPath>
+<sourceAttachmentPath/>
+</compiler>
+<applications>
+<application path="tests.as"/>
+</applications>
+<modules/>
+<buildCSSFiles/>
+</actionScriptProperties>
View
0 flare.tests/.project 100644 → 100755
No changes.
@@ -0,0 +1,3 @@
+#Wed Aug 04 13:14:22 PDT 2010
+eclipse.preferences.version=1
+upgradeSDK/fb4=
View
No changes.
No changes.
No changes.
No changes.
View
No changes.
View
No changes.
View
0 flare.tests/lib/unitest.swc 100644 → 100755
No changes.
View
@@ -10,6 +10,7 @@ package flare.tests
import flare.animate.interpolate.PointInterpolator;
import flare.animate.interpolate.RectangleInterpolator;
import flare.util.Arrays;
+ import flare.util.Vectors;
import flare.util.Colors;
import flash.geom.Matrix;
@@ -198,15 +199,15 @@ package flare.tests
var t0:Tween = new Tween(o, 1, {a:0});
var t1:Tween = new Tween(o, 1, {a:2}); t1.id = "tween";
var t2:Tween = new Tween(o, 1, {a:3}); t2.id = "tween";
-
+
try {
t1.id = "change";
t1.id = "tween";
assertEquals("tween", t1.id);
} catch (err:Error) {
fail("id change for non-running tween caused exception.");
}
-
+
t0.play();
try {
t0.id = "change";
@@ -218,7 +219,7 @@ package flare.tests
fail("Allowed id change for running transition");
} catch (e:Error) { }
t2.play();
-
+
assertTrue(t0.running);
assertTrue(Scheduler.instance.remove(t0));
assertFalse(t1.running);
View
No changes.
View
No changes.
Oops, something went wrong.

0 comments on commit 7aac08a

Please sign in to comment.