1. 05 Dec, 2015 2 commits
  2. 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
  3. 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
  4. 10 Nov, 2015 1 commit
    • Adam Barth's avatar
      Add some basic benchmarks of the Stocks app · 68eebaa5
      Adam Barth authored
       - animation_bench.dart. This benchmark measures the full main-thread pipeline
         for ticking the drawer entrance and exit animation.
       - build_bench.dart. This benchmark measures a full app rebuild when there's no
         state change.
       - layout_bench.dart. This benchmark measures a full relayout.
      68eebaa5
  5. 07 Nov, 2015 1 commit
  6. 06 Nov, 2015 1 commit
  7. 04 Nov, 2015 1 commit
  8. 02 Nov, 2015 1 commit
  9. 29 Oct, 2015 2 commits
    • Hixie's avatar
      Rev package versions for release. · fca9b8f3
      Hixie authored
      sky_engine is now at 0.0.45
      sky_services is now at 0.0.45
      flx is now at 0.0.4
      flutter is now at 0.0.15
      flutter_sprites is now at 0.0.12
      fca9b8f3
    • 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
  10. 28 Oct, 2015 3 commits
  11. 27 Oct, 2015 2 commits
  12. 26 Oct, 2015 8 commits
  13. 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
  14. 23 Oct, 2015 5 commits
  15. 21 Oct, 2015 1 commit
  16. 20 Oct, 2015 3 commits
  17. 19 Oct, 2015 5 commits