1872 Commits

Author SHA1 Message Date
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
Adam Barth
5a7d21675a Remove demo_launcher
This example is outdated.
2015-10-12 14:20:28 -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
bb9cf6d78b Add .old extension to silence analyzer
These examples haven't been ported to fn3 yet. Before this patch, they caused a
lot of noise in the analyzer output.
2015-10-12 13:45:33 -07:00
Viktor Lidholt
4e78799391 Updates sprite physics test 2015-10-12 13:39:47 -07:00
Viktor Lidholt
5f907780ff Working joints in sprite physics 2015-10-12 13:39:20 -07:00
Adam Barth
44f0feeb57 Merge pull request #1574 from abarth/material_canvas
Change the default MaterialType to canvas
2015-10-12 11:09:48 -07:00
Adam Barth
a1d554a575 Update arrow in stocks search to use ColorFilter
We changed IconButton to require a ColorFilter to filter the color of the icon.
2015-10-12 10:09:57 -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
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
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
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
4417049f78 Update package:flutter pubspec 2015-10-09 21:00:58 -07:00
Adam Barth
ecce1eb389 Import dart:ui as ui (instead of as sky) 2015-10-09 20:55:54 -07:00
Adam Barth
65eba90843 Rename package:sky to package:flutter 2015-10-09 20:44:52 -07:00
Adam Barth
5b37f8750d Rename dart:sky to dart:ui 2015-10-09 19:27:13 -07:00
Adam Barth
28d769f3ec Fix updater pubspec 2015-10-09 18:56:16 -07:00
Collin Jackson
cc2a873ac7 Merge pull request #1566 from collinjackson/dont_antialias_images
Painting images should not anti-alias (improves performance)
2015-10-09 14:59:50 -07:00
Adam Barth
32f18cfecb Rev pub package 2015-10-09 14:55:33 -07:00
Collin Jackson
6e37b51c0e Painting images should not anti-alias (improves performance) 2015-10-09 14:54:03 -07:00
Viktor Lidholt
79c23548ce Merge pull request #1562 from vlidholt/master
Adds debug drawing for weld joints in sprite physics
2015-10-09 14:12:18 -07:00
Adam Barth
f864ec267a Merge pull request #1564 from abarth/fast_white_icons
Make it fast to draw color icons
2015-10-09 14:07:45 -07:00
Adam Barth
ee7c72f4da Make it fast to draw color icons
Instead of using a ColorFilter, plumb the information down to Icon and thereby
to Image.
2015-10-09 14:04:54 -07:00
Hixie
8915cf0b89 Avoid painting previous routes redundantly
...once the animation is done.
2015-10-09 14:03:54 -07:00
Viktor Lidholt
dcad79e239 Adds debug drawing for weld joints in sprite physics 2015-10-09 13:22:12 -07:00
Hixie
dfc7f00a88 Remove workarounds that avoided 'super' in mixins
Dart supports this properly now.
2015-10-09 11:24:50 -07:00
Adam Barth
57cc25a3aa Merge pull request #1559 from abarth/new_text_painter
Add a flag to TextPainter to use ParagraphBuilder
2015-10-09 11:23:46 -07:00
Adam Barth
b07ff55044 Add a flag to TextPainter to use ParagraphBuilder
This patch makes it easier to experiment with work on ParagraphBuilder.
2015-10-09 11:20:26 -07:00
Adam Barth
3053e876d0 Remove circular imports of the material.dart library 2015-10-09 10:39:05 -07:00
Adam Barth
db3b9e8052 Rename App to MaterialApp
MaterialApp assumes that you're using material design.

Also move radial reaction and fix imports for stats box.
2015-10-09 10:27:22 -07:00
Adam Barth
cceb4187cc Merge pull request #1556 from abarth/split_widgets
Split material design widgets out of widgets.dart
2015-10-09 10:14:02 -07:00
Adam Barth
cc809491ba Split material design widgets out of widgets.dart
These are now part of material.dart.
2015-10-09 10:07:06 -07:00
Hixie
37bda25196 Relative paths in internal flutter libraries
Now that you import a top-level file for each layer of the Flutter
framework, within the framework we can use relative paths without being
worried about the copy/pasta problem we used to have.
2015-10-09 09:56:40 -07:00
Adam Barth
423db5c22c Rev pub package 2015-10-09 09:37:23 -07:00
Hixie
892d60d538 Have Flat buttons set their default text styles.
Also, have dialog buttons use the accent colour.
Also, generally rationalise some of this stuff to match Material better.
2015-10-08 16:49:57 -07:00
Viktor Lidholt
ecd20b6fa3 Merge pull request #1541 from vlidholt/master
Adds support for keeping track of contact points in physics
2015-10-08 16:20:40 -07:00
Viktor Lidholt
333c8f5f10 Updates sprite physics test 2015-10-08 16:13:56 -07:00
Viktor Lidholt
95a0aceaa1 Adds basic support for joints in sprite physics 2015-10-08 16:12:31 -07:00
Hixie
8945e0112f Changing themes caused crash
The root cause was that we crawled the tree to mark anyone who depended
on the updated theme dirty _after_ we crawled it to rebuild it. Thus, if
anyone was already marked dirty when the process started, then got
marked clean by the first (rebuild) walk, then got marked dirty again by
the notification, they'd be clean when they got the notification,
despite already being in the dirty list, which would cause an assertion.

Also IconTheme didn't have an operator==, so it was independently too
aggressive about updates.
2015-10-08 15:21:18 -07:00