Commit Graph

  • 5136d5209b Rename AppView to SkyBinding. Move app/view.dart to rendering/sky_binding.dart since it's part of the RenderObject API, really (it knows about RenderView intimately). The tests pass. I didn't check every last example. Hixie 2015-06-17 17:07:31 -07:00
  • 8e5245c9a1 Implement ColorFilter in widgets/basic.dart Adam Barth 2015-06-17 17:06:27 -07:00
  • 63bfa891c6 Use semantic names for callbacks instead of onGestureTap Adam Barth 2015-06-17 16:04:13 -07:00
  • 5c961fffb5 Add TextStyle fontFamily:, extend support for fontWeight: Hans Muller 2015-06-17 15:48:21 -07:00
  • 6bec75ad2b Add a test for the sector app. Hixie 2015-06-17 15:44:20 -07:00
  • 1133260198 Remove keys from the examples. TBR=abarth Hixie 2015-06-17 15:23:41 -07:00
  • 95d090bc5a Make the popup menu work again. This removes the requirement that things with the same type things have unique keys. Now, anything without a key is assumed to be interchangeable. Hixie 2015-06-17 15:10:42 -07:00
  • 29c1668582 fix analyzer warnings in stocks app Collin Jackson 2015-06-17 14:19:52 -07:00
  • 99e115d06c Settings menu item in stock2 doesn't work Adam Barth 2015-06-17 12:36:56 -07:00
  • 2460ce37b0 Refactor Navigator to put state in separate class, initial back button plumbing Collin Jackson 2015-06-17 12:21:08 -07:00
  • 40e7ecbf71 Enable render view override for stocks app to enable testing Collin Jackson 2015-06-16 23:37:29 -07:00
  • a3a80969a5 Add settings page to Sky’s stocks example app Collin Jackson 2015-06-16 17:59:12 -07:00
  • 9cb9e2ed8d Styling for text fragments Hans Muller 2015-06-16 16:48:08 -07:00
  • cc76b90450 Add back/forward history to navigation Collin Jackson 2015-06-16 16:14:55 -07:00
  • db90d5f046 Rename UINode to Widget. Also, move a widget example from examples/raw/ to examples/widgets/ Hixie 2015-06-16 11:09:16 -07:00
  • abc8eaa505 Places demo game in a OneChildRenderObjectWrapper and adds a star field and nebula for background Viktor Lidholt 2015-06-16 10:59:24 -07:00
  • 5505a200ce Simple support for routing in Sky Collin Jackson 2015-06-16 09:47:57 -07:00
  • bfe332c4c2 Make PopupMenuItem take a single child instead of an implicitly-flex list of children. TBR=abarth Hixie 2015-06-16 09:41:05 -07:00
  • 249dc8aff5 Create an example app that demonstrates interactive coordination of an fn tree and a raw RenderObject tree. Hixie 2015-06-16 09:28:59 -07:00
  • 395f92ba08 Make UINode's key a String Adam Barth 2015-06-15 21:39:09 -07:00
  • 4ca9ab2214 Give ParentDataNodes snappier names Adam Barth 2015-06-15 21:03:28 -07:00
  • bb683e03f6 Make RaisedButton support being disabled. Hixie 2015-06-15 17:32:13 -07:00
  • 86eabcb7c1 Remove RenderSizedBox. Make old users of RenderSizedBox use RenderConstrainedBox. Change the semantics of BoxDecoration.apply* to actually apply the provided constraints to the current constraints, rather than the previous behaviour of merging them neutrally. Hixie 2015-06-15 15:51:56 -07:00
  • 63f2c2594f Remove unneeded import and fix analyzer warnings Collin Jackson 2015-06-15 15:11:14 -07:00
  • e77da43f26 Fix stocks app usage of checkbox Collin Jackson 2015-06-15 13:17:50 -07:00
  • 9324b1b193 StockRow height, background color updates Hans Muller 2015-06-15 12:09:37 -07:00
  • 6c7a619f99 Updates game for new AppView API Viktor Lidholt 2015-06-15 09:11:16 -07:00
  • 17d3b4957a Rename all the things Adam Barth 2015-06-13 09:46:52 -07:00
  • fe6fa66aab Rename widgets/wrappers.dart to widgets/basic.dart Adam Barth 2015-06-12 22:16:48 -07:00
  • 1f07f3355d Verify that callers correctly set parentUsesSize if they use the child's size (and fix a few cases that didn't). This introduces a bunch of code that should only run in debug builds, but we don't have #ifdefs yet. Hixie 2015-06-12 17:09:57 -07:00
  • c5def50b9c Port sky_home to the new SkyView world Adam Barth 2015-06-12 16:53:29 -07:00
  • d3f49f3111 Make it easier to debug examples/widgets/container.dart, since it is currently showing a crazy clipping/transform bug. Hixie 2015-06-12 15:17:33 -07:00
  • 0fc5df446a Add the ability for Sky content to trigger Android intents Adam Barth 2015-06-12 13:43:01 -07:00
  • a39d429c65 Add support for text styles. Eric Seidel 2015-06-12 12:28:52 -07:00
  • ef1b69d757 Material and RaisedButton. Hixie 2015-06-12 11:46:08 -07:00
  • 6374d647c1 Make it possible to test that the stock app doesn't crash on startup and paints the basic scaffold more or less correctly. Hixie 2015-06-11 15:36:40 -07:00
  • 27ec875ab7 Update paths in sky_home.dart Eric Seidel 2015-06-11 15:17:12 -07:00
  • ad1305c35b Wire up Android back button in SkyShell Adam Barth 2015-06-11 14:33:01 -07:00
  • 34e7b69a79 Add an example of an app that manipulates both a RenderObject tree and has some fn logic in it. Also: - Make RenderProxyBox non-abstract - Upgrade the old container.dart example - Minor fixes to ui_mode.dart to make this work Hixie 2015-06-11 13:08:00 -07:00
  • cc5fde4e61 Fix bustage from my previous CL: "Color.fromARGB" becomes "new Color.fromARGB". Matt Perry 2015-06-11 15:59:10 -04:00
  • 7357aa443b Remove redundant Paint.setARGB in favor of assigning to Paint.color. Matt Perry 2015-06-11 15:43:53 -04:00
  • f8b4af944c Expose and use constants for DrawLooperLayerInfo.setPaintBits to dart. Matt Perry 2015-06-11 15:41:12 -04:00
  • 5d676f8549 Refactor fn2.dart, since it breached our 1000-line threshold. This moves input.dart to editing2/, since that way we can define the layering as strictly unidirectional. It also reorders a bunch of imports to fit the style guide. I removed the old remnants of the widgets example, and put the fn2 examples into the examples/widgets/ directory, to parallel the framework directory names. Hixie 2015-06-11 10:26:11 -07:00
  • a523d7f3ea Fix up constructor naming style for MaskFilter and ColorFilter. Matt Perry 2015-06-11 13:15:20 -04:00
  • 6ed8fb863c Sky: Small fixes to Gradient interface. Added comments and renamed constructors. Matt Perry 2015-06-11 13:14:51 -04:00
  • b656316b4b Make the popup menu animation correct Adam Barth 2015-06-11 10:09:39 -07:00
  • dcb0fa4312 Adds hit tests and transformations between coordinate systems in sprites Viktor Lidholt 2015-06-11 08:44:22 -07:00
  • 42877fd114 Spinning Square example for the RenderObject API. Hixie 2015-06-10 17:27:49 -07:00
  • 6a8dd7d284 Separate out the raw (directly manipulating sky.view) examples from the rendering (using RenderObject et al) examples. Hixie 2015-06-10 16:23:43 -07:00
  • ee42b94fa2 Move spinning_arabic.dart to the raw/ examples directory for consistency with the others. Hixie 2015-06-10 16:07:12 -07:00
  • 3627cefc7e Abstract out the AppView logic in fn so that it can also be used in non-pure-fn apps. This lays the groundwork for using fn widgets in static environments. Hixie 2015-06-10 15:55:25 -07:00
  • a5a56cbdc1 Rename BlockContainer, StackContainer, and FlexContainer Adam Barth 2015-06-10 15:34:30 -07:00
  • 58efa250e5 Replace some 'as' operators with equivalent code that doesn't do any checks in production mode. Hixie 2015-06-10 15:00:34 -07:00
  • 492f5919c7 Rows in stocks app should have ink splashes Adam Barth 2015-06-10 14:58:21 -07:00
  • ac7f2ff860 Ink splashes should start at the touch point Adam Barth 2015-06-10 13:55:20 -07:00
  • 4d6d57690e Remove one more use of mirrors: Components now have to explicitly sync their fields. Hixie 2015-06-10 10:33:04 -07:00
  • b6a3f8eef9 Extend Sky's RenderFlex with intrinsic sizes and compute cross-size height Collin Jackson 2015-06-10 10:11:58 -07:00
  • fe153f179a Add LinearBoxGradient and RadialBoxGradient decorations for RenderDecoratedBox. Matt Perry 2015-06-10 12:23:57 -04:00
  • 3260d9988d Adds support for zOrder and references to parent nodes in sprites, also start of new test app. Viktor Lidholt 2015-06-10 09:21:01 -07:00
  • 0e5bb2d231 Add a basic InkWell implementation Adam Barth 2015-06-10 09:04:15 -07:00
  • ad5df9147f Vertically center stock demo row contents, better up/down arrows Hans Muller 2015-06-09 15:59:18 -07:00
  • be5cc1a27e OneChildRenderObjectWrapper and Scaffold were ignoring the return value of syncChild(). This would cause them to forget what the most recent child they'd been given was, with disastrous effects later. Hixie 2015-06-09 12:23:17 -07:00
  • ba6a9a2ba5 Sky: Allow clients to specify tile mode for gradients (repeating or mirror). Matt Perry 2015-06-09 15:21:46 -04:00
  • 6b3840e384 Move image loading out of C++ into Dart Eric Seidel 2015-06-09 12:14:13 -07:00
  • 5a0b18490f Change the ColorFilter constructor to ColorFilter.Mode, in case we want to add more ColorFilter types. Matt Perry 2015-06-09 14:55:52 -04:00
  • 3aeadb34a6 Added a key: parameter to ParentDataNode, ContentDataNode Hans Muller 2015-06-09 11:00:47 -07:00
  • 44a0af042c Add a proper material shadow the popup menu Adam Barth 2015-06-09 10:31:39 -07:00
  • 71cf849271 Sky: Added radial gradients. Matt Perry 2015-06-09 12:45:02 -04:00
  • 2bc982d676 Position the popup menu in stocks2 correctly Adam Barth 2015-06-09 09:22:50 -07:00
  • e158527d6d Restore stock_arrow element of the stocks2 demo Hans Muller 2015-06-09 09:05:25 -07:00
  • b7e81c798a Split getIntrinsicDimensions into four pieces Adam Barth 2015-06-08 14:40:34 -07:00
  • 37f0b0240b Convert everything in the Sky API from degrees to radians. Radians are the one true angle unit. Hixie 2015-06-08 14:38:06 -07:00
  • 8ade37c5aa Rename Container's desiredSize argument to width and height arguments. Also change SizedBox. Hixie 2015-06-08 14:36:19 -07:00
  • 62bff5f7ef Sky support for flexbox justify content Collin Jackson 2015-06-08 14:14:02 -07:00
  • 824bc31626 Add Point.origin for new Point(0.0, 0.0) Adam Barth 2015-06-08 13:36:52 -07:00
  • 81e8e2b564 Add a basic popup menu implementation to stocks2 Adam Barth 2015-06-08 12:52:15 -07:00
  • 77f5d4724a Port DrawerHeader to fn2 world. Hixie 2015-06-08 11:00:05 -07:00
  • 1f26d65757 Add support for linear gradients, implemented as skia shaders. Matt Perry 2015-06-08 13:49:10 -04:00
  • 1526e5f8e0 Introduce sky.Sky.zero Adam Barth 2015-06-08 10:09:03 -07:00
  • c6a1a066f2 Implement a simple checkbox in Sky’s fn2 components library Collin Jackson 2015-06-05 14:51:37 -07:00
  • f2bc5caa07 Add the floating action button to stocks2 Adam Barth 2015-06-05 10:07:51 -07:00
  • baa62abc67 Implement radio button for Sky’s fn2 Collin Jackson 2015-06-04 17:24:38 -07:00
  • 824a66399e Adds a spaceship and (somewhat crappy) controls to the example game. Viktor Lidholt 2015-06-04 17:14:46 -07:00
  • e5581e80ed stock2 should actually show some stocks data Adam Barth 2015-06-04 16:35:56 -07:00
  • b7c588661c Rename "BorderSide.None" to "BorderSide.none", since it's a constant, and change the sky.Size.infinite() constructor to a constant. Hixie 2015-06-04 16:17:20 -07:00
  • 6559a8b68e Make the StockList actually work in stocks2 Adam Barth 2015-06-04 15:50:07 -07:00
  • a33db92d62 Improve the RenderObject.toString() logic so that there's not blank lines everywhere and to generally be better. Adds sizes, positions, transforms, improves RenderParagraph's output. Hixie 2015-06-04 15:45:44 -07:00
  • 7ebb281c5c Fix examples/game to work after Hixie's grand rename. Eric Seidel 2015-06-04 15:25:46 -07:00
  • 8a0caf8ed4 Start making input work Eric Seidel 2015-06-04 15:18:09 -07:00
  • b76af41f63 Prepare StockList for use in stocks2 Adam Barth 2015-06-04 15:10:09 -07:00
  • b05d618e62 Attempt to write a RenderShadowedBox Eric Seidel 2015-06-04 14:49:24 -07:00
  • f66a933a55 Implement menu_divider Collin Jackson 2015-06-04 13:11:40 -07:00
  • 68369e9d62 Style guide says enum values should be lowerCamelCase. https://www.dartlang.org/articles/style-guide/#names Hixie 2015-06-04 12:24:10 -07:00
  • 3b06e1e1f7 Adds support for transfer mode in Paint and SpriteNode classes. Adds support for opacity in sprites, and modifies example game. Viktor Lidholt 2015-06-04 11:14:07 -07:00
  • bcf65bd04c Stub out InkWell and implement Sky’s fn2 menu item Collin Jackson 2015-06-04 11:04:01 -07:00
  • 30dac5853d Canvas.concat takes a 16-element Float32List instead of an array. Matt Perry 2015-06-04 13:51:44 -04:00
  • 433df32cd0 Enable RenderDecoratedBox to draw borders. Currently supports only solid borders, but of any colour and size, independently controlling each side. Hixie 2015-06-04 10:50:59 -07:00
  • 9bdb39d0ec Fix build after hixie's rename Adam Barth 2015-06-04 10:49:05 -07:00
  • 395102d5ca Rename RenderNode to RenderObject. Hixie 2015-06-04 10:45:21 -07:00
  • e99c880bc2 Fix gesture events in fn2 Adam Barth 2015-06-03 16:06:15 -07:00