Adam Barth
a88a85e695
Rename skysprites to flutter_sprites
2015-10-13 16:34:01 -07:00
Kris Giesing
3021381456
Add hold and sweep semantics to gesture arena
2015-10-13 16:00:15 -07:00
Kris Giesing
0c22900861
Merge remote-tracking branch 'upstream/master' into events-merge
2015-10-13 15:35:45 -07:00
Jason Simmons
f343b7af07
Update to mojo 1292152bf533de1bfebf5966d6246e149f87add3
2015-10-13 15:24:40 -07:00
Kris Giesing
ec205ac5c5
Add dart-layer input event abstraction
2015-10-13 15:16:04 -07:00
Adam Barth
89faf21a10
Merge pull request #1596 from abarth/moar_nine
...
Add a centerSlice parameter to images
2015-10-13 14:24:06 -07:00
Viktor Lidholt
f0de94e230
Merge pull request #1603 from vlidholt/master
...
Adds publishing for Flutter Sprites
2015-10-13 14:23:11 -07:00
Hixie
1cf1cf9c64
Port first sector demo to fn3
...
Also, fix warnings in rendering/sector_layout.dart
Also, fix hit testing in rendering/sector_layout.dart
Also, add WidgetToRenderBoxAdapter
Also, make the rendering library debugging tools more resilient to
dumping stuff before layout is complete.
2015-10-13 14:21:52 -07:00
Viktor Lidholt
e3d7cba482
Updates flutter sprites pubspec
2015-10-13 14:15:27 -07:00
Viktor Lidholt
8f65e0cb34
Add callback when physics joints break
2015-10-13 13:51:15 -07:00
Adam Barth
80f30d9176
Don't dump a stack trace for a usage exception
...
Instead, just print the usage.
2015-10-13 13:37:41 -07:00
Adam Barth
998a066a82
Add a centerSlice parameter to images
...
This lets you draw nine-patch images.
2015-10-13 13:21:36 -07:00
Viktor Lidholt
2feb51d6bc
Adds more joint types to sprite physics
2015-10-13 13:18:30 -07:00
Adam Barth
f0a1632dd6
Add a --local-build flag to detect engine src paths
...
A common use case for members of the Flutter team is to have a dependency
override for the flutter package that points back into the engine src tree.
We can use that override to automatically detect the engine src path, which
makes the command line shorter.
2015-10-13 10:35:53 -07:00
Adam Barth
12f75817ce
Refactor the build command so that it can be used internally
...
Instead of calling through `pub` to invoke build, this patch refactors the
build command so that it can be called directly.
2015-10-13 10:00:06 -07:00
Viktor Lidholt
7c5092f7b1
Adds support for dampening on weld physics joints in sprites
2015-10-13 09:39:53 -07:00
Viktor Lidholt
106d3c4bd1
Merge pull request #1588 from vlidholt/master
...
Adds check for breaking forces in sprite physics joints
2015-10-13 07:32:14 -07:00
Collin Jackson
adb0d2e2df
Merge pull request #1586 from collinjackson/dispatchOnScroll
...
Allow derived classes of Scrollable to listen for scroll events
2015-10-12 17:13:01 -07:00
Hixie
cb77bd44f6
Remove an infinity in layout code.
2015-10-12 17:07:27 -07:00
Viktor Lidholt
6488a13315
Adds breakingForce argument to joints constructors in sprite physics
2015-10-12 16:59:58 -07:00
Viktor Lidholt
3784086322
Break sprite physics joints
2015-10-12 16:54:58 -07:00
Viktor Lidholt
2d2b4a8a58
Save list of sprite physics joints
2015-10-12 16:53:41 -07:00
Hixie
f2cc43a483
Lots of trivial warning fixes
...
Add type annotations in many places.
Fix some identifiers to have more lint-satisfying names.
Make all operator==s consistent in style.
Reorder some functions for consistency.
Make ParentData no longer dynamic, and fix all the code around that.
2015-10-12 16:31:20 -07:00
Collin Jackson
477a54c375
Allow derived classes of Scrollable to listen for scroll events
2015-10-12 16:10:46 -07:00
Viktor Lidholt
13ade2c732
Adds check for breaking forces in sprite physics joints
2015-10-12 15:56:11 -07:00
Viktor Lidholt
909716956e
Adds pulley joint to sprite physics and makes joint variables final
2015-10-12 15:28:02 -07:00
Viktor Lidholt
26234b1041
Merge pull request #1580 from vlidholt/master
...
Working joints in sprite physics
2015-10-12 14:10:19 -07:00
Adam Barth
d9af939995
Improve error message when missing the package-root
2015-10-12 14:01:05 -07:00
Viktor Lidholt
5f907780ff
Working joints in sprite physics
2015-10-12 13:39:20 -07:00
Adam Barth
9c4835100b
Handle the case of a non-connected Android device better
...
Previous we dumped a stack trace. Now we produce a more sensible error.
2015-10-12 11:05:09 -07:00
Adam Barth
09665c0d7f
Change the default MaterialType to canvas
...
Canvas is by far the most popular type of material by call site (and makes for
a faster default because it doesn't have a RRect clip).
2015-10-12 09:36:47 -07:00
Adam Barth
ca909c9252
Rev pub package
2015-10-12 01:38:09 -07:00
Adam Barth
0e06feee01
Add some print statements to smooth first run
...
This patch adds a couple print statements to explain why the first run of
`flutter start` takes a while. (We need to download the APK and install it on
the device.)
2015-10-12 01:33:03 -07:00
Adam Barth
a157e0eac0
Rev pub package
2015-10-12 01:06:20 -07:00
Adam Barth
8df5e9f738
Polish up some error handling
...
This patch improves the error handling for several arbitrary issues I
encountered while experimenting with the tool this evening.
2015-10-12 00:55:13 -07:00
Adam Barth
f9a7ed047d
Reattach fitness to the build
...
We can build Fitness again now that playfair has been updated to account for
the package:flutter rename.
2015-10-12 00:24:24 -07:00
Adam Barth
9b46c2d89c
Update playfair after package:flutter rename
2015-10-12 00:11:28 -07:00
Adam Barth
bdd20661d7
Teach sky_tools about prebuilt artifacts
...
This patch makes `flutter start` work without a clone of the engine git
repository. Making this work pulled a relatively large refactor of how the
commands interact with application packages and devices. Now commands that want
to interact with application packages or devices inherit from a common base
class that holds stores of those objects as members.
In production, the commands download and connect to devices based on the build
configuration stored on the FlutterCommandRunner. In testing, these fields are
used to mock out the real application package and devices.
2015-10-12 00:03:55 -07:00
Ian Fischer
a6a3f212ee
IOSSimulator implementation.
...
Also fixes some minor bugs with iOS and Android interactions.
2015-10-11 19:36:06 -07:00
Adam Barth
4191ed4921
Don't mention --install
...
The --install command isn't needed anymore. We automatically detect when
we need to install the APK.
2015-10-11 12:33:59 -07:00
Adam Barth
d1b7f175a5
Rev pub package
2015-10-11 12:14:46 -07:00
Adam Barth
f0b7ef83ff
Merge pull request #1572 from abarth/bin_flutter
...
Add a bin/flutter.dart to the flutter package
2015-10-11 12:03:21 -07:00
Adam Barth
25eaaefd26
Switch init command over to package:flutter
2015-10-11 11:57:22 -07:00
Adam Barth
760811e62b
Rev pub package
2015-10-10 00:52:32 -07:00
Adam Barth
85d8f8c1b3
Add a bin/flutter.dart to the flutter package
...
This command will eventually become the main entrypoint for the Flutter tools.
Also, fixup a reference to the "sky" package in sky_tool.
2015-10-10 00:43:59 -07:00
Adam Barth
9148e1779f
Expose main via executable.dart
...
Expose the main entry point for the tools via the library lets us run the tools
from the Flutter package, which simplifies the setup for end developers because
they don't need to declare a dependency on sky_tools directly.
2015-10-10 00:15:21 -07:00
Devon Carew
7ba6342f88
remove an unused import
2015-10-10 00:00:50 -07:00
Adam Barth
e17190df63
Merge pull request #85 from flutter/command_dir
...
Move Command subclasses into commands directory
2015-10-09 23:28:19 -07:00
Adam Barth
561350d238
Merge pull request #81 from Iheartweb/patch-1
...
Changing Desc to match Github Desc.
2015-10-09 23:24:15 -07:00
Adam Barth
287817f224
Move Command subclasses into commands directory
...
I'm trying to get a feel for the code by writing some simple cleanup patches.
2015-10-09 23:22:20 -07:00