1. 12 6月, 2015 1 次提交
  2. 11 6月, 2015 3 次提交
  3. 10 6月, 2015 1 次提交
  4. 06 6月, 2015 1 次提交
  5. 05 6月, 2015 3 次提交
  6. 28 5月, 2015 1 次提交
  7. 27 5月, 2015 1 次提交
  8. 20 5月, 2015 2 次提交
  9. 19 5月, 2015 1 次提交
    • J
      Rationalize Dart mojo and sky package structure. · b017dfd9
      John McCutchan 提交于
      NOTE: This CL appears far larger than it actually is for two reasons:
      
      1) Many files were moved around to use the Dart package directory structure.
      2) Many .dart files had to have import paths updated.
      
      - Organize mojo/public/dart so that it uses standard Dart package layout
      - Organize mojo/dart/apptest so that it uses a standard Dart package layout
      - Organize sky/sdk so that it uses a standard Dart package layout
      - Create a mojo/testing package (used by unittests)
      - Introduce the 'dart_pkg' gn rule which populates gen/Config/dart-pkg
      - All internally vended Dart packages must have a corresponding dart_pkg rule
      - It is now possible to use dependency_overrides: in pubspec.yaml to mix internal and external package dependencies (enables analyzer, editor, webstorm usage for internal developers).
      - Package root for dart content handler ends with "packages/"
      - Imports of mojo package uris no longer need the "public/dart"
      - mojo/public/tools/dart_package.py is a clone of mojo/public/tools/gn/zip.py
      - Sky tests no longer run 'deploy_sdk' script.
      
      R=eseidel@chromium.org
      
      Review URL: https://codereview.chromium.org/1132063007
      b017dfd9
  10. 13 5月, 2015 1 次提交
    • H
      [Effen] Use the checkbox widget in the stocks app. · 396a04df
      Hixie 提交于
      - add a checkbox to the stock app, so that we're testing the checkbox widget
        (it's not currently wired up to anything, that can come later)
      - make InkSplash use FlexContainer so that we can use flex in the popup menu items
      - make effen's Text be more similar to Image and Container, so that it can be styled
      - make layout.dart's RenderCSSText correctly support being styled
      - also fixes a bug with the stock list where we were rendering one too few a row when scrolling
      - check in the code to dump the DOM so I don't have to keep remembering how to do this
      
      R=eseidel@chromium.org
      
      Review URL: https://codereview.chromium.org/1134163003
      396a04df
  11. 09 5月, 2015 1 次提交
  12. 28 4月, 2015 2 次提交
  13. 22 4月, 2015 1 次提交
    • H
      [Effen] Prevent scrolling past the bottom of a scrollable list. · 830f8bf0
      Hixie 提交于
      - make the ScrollBehavior instance long-lived, rather than recreating
        it each time we update the list contents.
      - have OverscrollBehavior track the total height of the contents and
        the height of the scrollable region, so that it can determine when
        to stop scrolling down.
      - teach OverscrollBehavior about how to determine when to stop
        scrolling down, and how to bounce when it's too far down.
      - replace the 'energy' concept in Particles with a method that sets
        the energy and direction at the same time, instead of assuming that
        the direction is always positive when setting energy.
      - make FixedHeightScrollable lists track the number of items in the
        list and have them update their ScrollBehavior regarding this
        information as it changes.
      - track how many items are currently showing in the list stock list.
      
      R=eseidel@chromium.org
      
      Review URL: https://codereview.chromium.org/1097373002
      830f8bf0
  14. 15 4月, 2015 1 次提交
  15. 02 4月, 2015 1 次提交
  16. 24 3月, 2015 2 次提交
  17. 17 3月, 2015 1 次提交
    • R
      [Effen] add StyleNode · 082ca7c2
      Rafael Weinstein 提交于
      This patch adds a new (non-Render) StyleNode which takes two arguments: A (content) node, which it wraps and a Style object.
      
      This allows for styles to be applied to Nodes which are constructed elsewhere (e.g. passed in as arguments).
      
      R=abarth@chromium.org
      
      Review URL: https://codereview.chromium.org/1027653002
      082ca7c2
  18. 16 3月, 2015 2 次提交
    • R
      [Effen] Add AnimatedComponent base class · 86dc24f9
      Rafael Weinstein 提交于
      This patch adds a base AnimatedComponent from which most components that animated should derive. It takes care of listening & unlistening from the animations during did(Un)mount as well as binding the animated value to a private field and scheduling the component for build.
      
      Note that this patch removes the did(Un)mount overridable methods from Component and replaces them with a callback mechanism which is less brittle.
      
      BUG=
      R=abarth@chromium.org
      
      Review URL: https://codereview.chromium.org/1027633003
      86dc24f9
    • R
      Change how events are handled in Effen · e8318f65
      Rafael Weinstein 提交于
      This patch removes the mutable API to event handling (Nodes no longer have a events object with which to add listeners).
      
      Instead, a new (non-Render) Node is introduced: EventTarget. This node represents a location in the Effen tree which can handle events as they bubble.
      
      Note that this also changes the implementation to use event delegation (one set of listeners at the sky.document level) rather than direct listeners on leaf nodes.
      
      R=abarth@chromium.org
      
      Review URL: https://codereview.chromium.org/1019633004
      e8318f65
  19. 14 3月, 2015 3 次提交
  20. 13 3月, 2015 4 次提交
  21. 12 3月, 2015 1 次提交
    • A
      Update Button to be made of Material · 24a53815
      Adam Barth 提交于
      To accomplish this, I made the following changes:
      
      1) Material is now in charge of drawing the material shadows.
      2) In order to mix in the style for the shadow, Element now takes a list of
         Styles instead of a single style.
      3) Update all clients of Element#style to understand that we now have a list.
      4) Update components that drawer shadows to have Material do that work instead.
         a) One exception: FloatingActionButton draws its own shadow because of its
            crazy clip requirements. We'll probably want to find a better way for
            FloatingActionButton to clip in the future.
      
      I've also added a widgets-fn example to demo the fn material widgets.
      
      This CL introduces a bug into Drawer whereby you can get ink splashes
      everywhere in the drawer. In the future, we'll need to separate out the
      different material aspects to get non-splashable materials.
      
      R=rafaelw@chromium.org
      
      Review URL: https://codereview.chromium.org/1003553002
      24a53815
  22. 11 3月, 2015 1 次提交
  23. 10 3月, 2015 2 次提交
  24. 07 3月, 2015 1 次提交
  25. 06 3月, 2015 2 次提交
    • E
      Make stocksapp.dart almost pass the dart analyzer. · bbeb05af
      Eric Seidel 提交于
      To test:
      sky/tools/shelldb analyze sky/examples/stocks-fn/stocksapp.dart
      
      It prints 600+ warnings about the "native" keyword, and after
      this change only a couple warnings about missing library names
      which I don't fully understand.
      
      R=abarth@chromium.org
      
      Review URL: https://codereview.chromium.org/987613002
      bbeb05af
    • A
      Don't hardcode the list of events types in fn · 075635df
      Adam Barth 提交于
      This CL changes how events work in fn. Previously, event listeners were passed
      in as constructor arguments. Now Nodes hold an |events| object, which contains
      all the event registrations. When a Component renders, all its |events| are
      copied onto the Node it produces. When an Element syncs, it walks its |events|
      and adds them as event listeners on the underlying sky.Element.
      
      The net result of this change is increased flexibility in how events are
      registered. Now components don't need to enumerate all the possible events that
      they support. Instead, the parent component can listen for whatever events it
      likes.
      
      Also, I've cleaned up the association between DrawerAnimation and Drawer. Now
      the constructor for Drawer accepts an |animation| object and wires up its
      internal event handlers itself instead of requiring the constructor to do all
      the wiring.
      
      R=rafaelw@chromium.org
      
      Review URL: https://codereview.chromium.org/975863003
      075635df