- 05 Dec, 2015 2 commits
-
-
Ian Hickson authored
-
Adam Barth authored
We can just use Canvas now. The two are the same thing.
-
- 02 Dec, 2015 2 commits
-
-
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.
-
Adam Barth authored
-
- 12 Nov, 2015 1 commit
-
-
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.
-
- 10 Nov, 2015 1 commit
-
-
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.
-
- 07 Nov, 2015 1 commit
-
-
Adam Barth authored
Using local paths ensures that each package sees each other package at HEAD.
-
- 06 Nov, 2015 1 commit
-
-
Adam Barth authored
-
- 04 Nov, 2015 1 commit
-
-
Adam Barth authored
-
- 02 Nov, 2015 1 commit
-
-
Adam Barth authored
-
- 29 Oct, 2015 2 commits
-
-
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
-
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
-
- 28 Oct, 2015 3 commits
-
-
Viktor Lidholt authored
-
Hixie authored
sky_engine is now at 0.0.44 sky_services is now at 0.0.44 flx is now at 0.0.3 flutter is now at 0.0.14 flutter_sprites is now at 0.0.11
-
Adam Barth authored
-
- 27 Oct, 2015 2 commits
-
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
- 26 Oct, 2015 8 commits
-
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Adam Barth authored
We were assuming that the text extended from 0.0 to its max content width. That's not correct for right-aligned text. Instead, we need to layout the text again at the width we want it to occupy.
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Adam Barth authored
-
- 24 Oct, 2015 1 commit
-
-
Hixie authored
This makes skyanalyzer also check the examples, and fixes everything it found there.
-
- 23 Oct, 2015 5 commits
-
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
Teleportation for physics bodies works again
-
Adam Barth authored
-
Adam Barth authored
-
- 21 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 20 Oct, 2015 3 commits
-
-
Adam Barth authored
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
- 19 Oct, 2015 5 commits
-
-
Adam Barth authored
Instead of requiring clients to use ui.ColorFilter, we show show the ColorFilter class, similar to what we do for Color.
-
Viktor Lidholt authored
-
Adam Barth authored
We now just use Dart properties, which is more idiomatic.
-
Viktor Lidholt authored
-
Adam Barth authored
-