1. 11 Feb, 2016 1 commit
    • Ian Hickson's avatar
      Clean up imports and exports. · a94999ba
      Ian Hickson authored
      Each layer is supposed to reexport the parts of the previous layer
      that are part of its API.
      
      - In painting.dart, export from dart:ui all the Canvas-related APIs
        that make sense to be used at higher levels, e.g. PaintingStyle.
      
      - Delete painting/shadows.dart. It was dead code.
      
      - In rendering/object.dart, export all of painting.dart.
      
      - In widgets/basic.dart, export all of painting.dart and
        animation.dart. Some classes in animation/ are renamed to make this
        less disruptive and confusing to the namespace.
      
      - Split out Stocks back into an import model rather than a part model,
        so that it's easier to manage its dependencies on a per-file basis.
      
      - Move Ticker to scheduler library.
      
      - Remove as many redundant imports as possible now.
      
      - Some minor nit picking cleanup in various files.
      a94999ba
  2. 08 Feb, 2016 1 commit
  3. 03 Feb, 2016 1 commit
  4. 29 Jan, 2016 1 commit
  5. 14 Jan, 2016 2 commits
  6. 12 Jan, 2016 1 commit
  7. 08 Jan, 2016 1 commit
  8. 07 Jan, 2016 1 commit
  9. 16 Dec, 2015 2 commits
  10. 14 Dec, 2015 2 commits
  11. 11 Dec, 2015 1 commit
  12. 08 Dec, 2015 1 commit
  13. 05 Dec, 2015 2 commits
  14. 03 Dec, 2015 1 commit
  15. 02 Dec, 2015 2 commits
    • Florian Loitsch's avatar
      Rename some of the functions from the scheduler. · 72821152
      Florian Loitsch authored
      The names are probably less familiar, but more consistent:
      - FrameCallback: a callback that is relative to the frame and wants the
        frame offset (a duration) as argument.
      - addXFrameCallback: adds the given callback to the internal lists/maps.
      - scheduleXFrameCallback (currently only X = ""): add the callback, but
        also trigger a new frame.
      - handleX: the method that is invoked when the event-loop or the frame
        calls into the scheduler.
      - ensureXYZ: ensure that the callback happens.
        Unfortunately there is the ambiguity between a "callback": it can be a
        closure, or the action of doing a callback, so we end up with:
        ensureBeginFrameCallback, and ensureEventLoopCallback, where
        "callback" means the action of being called back.
      72821152
    • Adam Barth's avatar
      Add missing import to flutter_sprites · 12304965
      Adam Barth authored
      12304965
  16. 12 Nov, 2015 1 commit
    • Hixie's avatar
      flutter analyze command · a0227cab
      Hixie authored
      Other changes in this patch:
      - Make the 'flutter' tool say "Updating flutter tool..." when it calls
        pub get, to avoid confusion about what the pub get output is about.
      - Make the bash flutter tool call pub get when the revision has
        changed. (This was already happening on Windows.)
      - Fix a raft of bugs found by the analyzer.
      - Fix some style nits in various bits of code that happened to be near
        things the analyzer noticed.
      - Remove the logic in "flutter test" that would run "pub get", since
        upon further reflexion it was determined it didn't work anyway.
        We'll probably have to add better diagnostics here and say to run the
        updater script.
      - Remove the native velocity tracker script, since it was testing code
        that has since been removed.
      
      Notes on ignored warnings:
      - We ignore warnings in any packages that are not in the Flutter repo or
        in the author's current directory.
      - We ignore various irrelevant Strong Mode warnings. We still enable
        strong mode because even though it's not really relevant to our needs,
        it does (more or less accidentally) catch a few things that are
        helpful to us.
      - We allow CONSTANTS_LIKE_THIS, since we get some of those from other
        platforms that we are copying for sanity and consistency.
      - We allow one-member abstract classes since we have a number of them
        where it's perfectly reasonable.
      - We unfortunately still ignore warnings in mojom.dart autogenerated
        files. We should really fix those but that's a separate patch.
      - We verify the actual source file when we see the 'Name non-constant
        identifiers using lowerCamelCase.' lint, to allow one-letter variables
        that use capital letters (e.g. for physics expressions) and to allow
        multiple-underscore variable names.
      - We ignore all errors on lines that contain the following magic
        incantation and a "#" character:
          // analyzer doesn't like constructor tear-offs
      - For all remaining errors, if the line contains a comment of the form
          // analyzer says "..."
        ...then we ignore any errors that have that "..." string in them.
      a0227cab
  17. 29 Oct, 2015 1 commit
    • Adam Barth's avatar
      Rationalize embedder.dart and shell.dart · fab160cf
      Adam Barth authored
      This patch combines embedder.dart and shell.dart into one thing. We should now
      handle a bunch of error cases better.
      
        * embedder.connectToApplication has moved to shell.connectToApplication,
          matching the rest of the mojo universe.
        * embedder.connecttoService has moved to shell.connnectToService (and merged
          with shell.requestService).
        * shell.requestService is now shell.connectToService, matching the rest of
          the mojo universe.
        * serviceRegistry has moved from embedder.serviceRegistry to a top-level
          getter.
      
      Fixes #1803
      fab160cf
  18. 28 Oct, 2015 1 commit
  19. 27 Oct, 2015 2 commits
  20. 26 Oct, 2015 7 commits
  21. 24 Oct, 2015 1 commit
    • Hixie's avatar
      Strong modeify the examples · a6c473ea
      Hixie authored
      This makes skyanalyzer also check the examples, and fixes everything it
      found there.
      a6c473ea
  22. 23 Oct, 2015 3 commits
  23. 20 Oct, 2015 2 commits
  24. 19 Oct, 2015 2 commits