4367 Commits

Author SHA1 Message Date
Adam Barth
ca72b60a29 Fix analyzer warning 2015-09-21 21:35:36 -07:00
Ian Hickson
cc82617792 Merge pull request #1274 from Hixie/fn3
More dartdoc for fn3, and sundry changes.
2015-09-21 17:44:19 -07:00
Hixie
e2fefe0fc0 More dartdoc for fn3, and sundry changes.
- move _uniqueChild earlier since a comment now mentions it earlier.
- reorder methods in Element to more closely reflect call order.
- change mount to be the place that sets the parent pointer, for consistency.
- make the lifecycleState a purely debug-time thing for consistency.
- make BuildableElement.unmount set dirty to false so that we won't
  build unmounted objects.
- rename "updated" to "newWidget" for clarity.
- change how we unmount things so that the slot is reset up to a
  RenderObjectElement, but not further, and don't reset the depth.
2015-09-21 17:44:15 -07:00
James Robinson
e93e326614 Merge pull request #1275 from jamesr/content_handler_flx
Teach content handler service to serve flx (and only flx) files
2015-09-21 17:43:14 -07:00
James Robinson
defb7d2c6f Teach content handler service to serve flx (and only flx) files 2015-09-21 17:34:29 -07:00
James Robinson
77d5aa16b3 Merge pull request #1272 from jamesr/fix_build
Add include of <memory> for std::unique_ptr
2015-09-21 17:13:32 -07:00
James Robinson
1c40171d31 Add include of <memory> for std::unique_ptr 2015-09-21 17:10:47 -07:00
Adam Barth
44083d2edc Merge pull request #1270 from abarth/rm_gesture_events
Remove uses of sky.GestureEvent
2015-09-21 17:06:07 -07:00
Adam Barth
7d7986a993 Remove uses of sky.GestureEvent 2015-09-21 17:05:45 -07:00
Adam Barth
86c235c229 Merge pull request #1269 from abarth/rm_event_disposition
Remove EventDisposition
2015-09-21 16:47:51 -07:00
Adam Barth
c94726ec32 Remove EventDisposition
All the use cases for EventDisposition are now addressed by the gesture
detection system.
2015-09-21 16:45:09 -07:00
Chinmay Garde
1766ec4ff4 Merge pull request #1268 from chinmaygarde/master
Delete "services/sky/compositor/picture_serializer"
2015-09-21 16:43:17 -07:00
Chinmay Garde
faee292fa2 Delete "services/sky/compositor/picture_serializer" 2015-09-21 16:31:26 -07:00
Adam Barth
61373a0c9b Merge pull request #1266 from abarth/toggle_gesture
RenderToggleable should use a gesture recognizer
2015-09-21 16:26:52 -07:00
Adam Barth
2ecd58b5da RenderToggleable should use a gesture recognizer
We no longer have gesture events.
2015-09-21 16:26:28 -07:00
Chinmay Garde
29988fac46 Merge pull request #1267 from chinmaygarde/master
Move picture_serializer from sky/shell/gpu to sky/compositor
2015-09-21 16:26:05 -07:00
Chinmay Garde
28aa97988d Move picture_serializer from sky/shell/gpu to sky/compositor 2015-09-21 16:22:33 -07:00
Chinmay Garde
b258a3367f Merge pull request #1265 from chinmaygarde/master
SkPicture tracing to file follows same path as rendering into the OpenGL context
2015-09-21 16:01:48 -07:00
Ian Hickson
18e4653fde Merge pull request #1264 from Hixie/fn3
Fix fn3 build errors
2015-09-21 15:48:07 -07:00
Chinmay Garde
0a2984c959 Remove the SERIALIZE_LAYER_TREE macro 2015-09-21 15:46:39 -07:00
Hixie
060662ce5a Fix fn3 build errors
Add a LeafRenderObjectElement, fix a test to use the new contract.
2015-09-21 15:45:49 -07:00
Chinmay Garde
ef4df93e06 SkPicture tracing to file follows same path as rendering into the OpenGL context 2015-09-21 15:45:09 -07:00
Ian Hickson
76dc3716b0 Merge pull request #1262 from Hixie/fn3
fn3 review
2015-09-21 15:42:28 -07:00
Hixie
e4033a8af6 fn3 review
- adds dartdocs
- replaces config setter with didUpdateConfig() so that you can't replace
the config outside of the system
- renames didUnmount() with destroy().
- rename Component to StatelessComponent, ComponentConfiguration to
StatefulComponent
- move debug dump to end of file
- renamed _holder to _element
2015-09-21 15:42:18 -07:00
Adam Barth
9fd3e81912 Merge pull request #1261 from abarth/strip_linux
Strip Linux binaries
2015-09-21 15:26:35 -07:00
Adam Barth
54cbc1b84e Strip Linux binaries
We distribute some Linux binaries. It's useful for them to be small.
2015-09-21 15:25:21 -07:00
Adam Barth
5c62909cf0 Merge pull request #1259 from abarth/fn3_rebuild
fn3 shouldn't rebuild components that don't change identity
2015-09-21 15:05:14 -07:00
Collin Jackson
3e4b3caed0 Merge pull request #1214 from collinjackson/scale_tests
add a test for scale gestures
2015-09-21 14:47:50 -07:00
Adam Barth
bac52dc8b1 fn3 shouldn't rebuild components that don't change identity 2015-09-21 14:00:26 -07:00
Hans Muller
964874bc43 Merge pull request #1256 from HansMuller/update_contributing_readme
Be explicit about the working directory in CONTRIBUTING
2015-09-21 12:52:51 -07:00
Adam Barth
5e35cc62f3 Rev pub packages 2015-09-21 12:46:47 -07:00
Adam Barth
05c11e34d3 Merge pull request #1258 from abarth/big_red
Make big_red_button work with the current Dart SDK
2015-09-21 12:46:08 -07:00
Adam Barth
c2304d81fa Make big_red_button work with the current Dart SDK
Previously --stage-two would error out because the LICENSE was git ignored.
This patch includes the LICENSE file in the repo to avoid the error. Also,
refactor the big_red_button.py to be clearer about what's shared between stage
one and stage two of the release process.
2015-09-21 12:43:57 -07:00
Adam Barth
66a438f6a0 Rev pub packages 2015-09-21 12:34:54 -07:00
Hans Muller
bddcc5728e Be explicit about the working directory in CONTRIBUTING 2015-09-21 11:40:19 -07:00
Adam Barth
61a92c9f72 Merge pull request #1254 from abarth/fn3-state
Make stateful components work in fn3
2015-09-21 11:16:35 -07:00
Adam Barth
496e0b40ed Make stateful components work in fn3 2015-09-21 11:02:36 -07:00
Ian Hickson
785769db18 Merge pull request #1248 from abarth/fn3
Prototype of fn3
2015-09-21 10:26:25 -07:00
Adam Barth
d49cc724dd Update README.md 2015-09-20 14:02:52 -07:00
Adam Barth
3ce4186dad Merge pull request #1251 from abarth/fix_analyzer
Fix analyzer warnings
2015-09-19 19:28:44 -07:00
Adam Barth
dcb968c420 Fix analyzer warnings
We were just missing a few type casts in tests to make the analyzer happy.
2015-09-19 19:21:11 -07:00
Adam Barth
85aebce0d0 Merge pull request #1250 from abarth/update_readmes
Update URLs after moving to the Flutter organization
2015-09-19 09:08:01 -07:00
Adam Barth
1468e23311 Update URLs after moving to the Flutter organization 2015-09-19 09:04:33 -07:00
Adam Barth
d0e3139182 Prototype of fn3
This patch contains a prototype of a new widget framework. In this framework,
Components can be reused in the tree as many times as the author desires. Also,
StatefulComponent is split into two pieces, a ComponentConfiguration and a
ComponentState. The ComponentConfiguration is created by the author and can be
reused as many times as desired. When mounted into the tree, the
ComponentConfiguration creates a ComponentState to hold the state for the
component. The state remains in the tree and cannot be reused.
2015-09-18 23:17:52 -07:00
Ian Hickson
937d5a2ff9 Merge pull request #1247 from Hixie/menu
Introduce a showPopupMenu() function
2015-09-18 16:58:24 -07:00
Hixie
16f28c7939 Introduce a showPopupMenu() function
Instead of having to manage the popup menu from your app's build
function, you now just call showPopupMenu() with the menu's position and
it takes care of everything for you.

This solves the problem that the popup menu was trying to mutate the
state of the navigator from within its own initState() function.

Also, remove the "route" argument to RouteBase.build() since it equals
"this" by definition...

Also, remove ModalOverlay, and instead put that logic in the navigator.
2015-09-18 16:57:15 -07:00
Viktor Lidholt
76c0016fb3 Merge pull request #1246 from vlidholt/master
Improvements to EffectLine in sprites
2015-09-18 16:28:29 -07:00
Ian Hickson
6ed9d7de0b Merge pull request #1241 from Hixie/ancestorOfType
Move findAncestorRenderObjectWrapper to RenderObjectWrapper
2015-09-18 16:13:40 -07:00
Viktor Lidholt
655e91a28b Improvements to EffectLine in sprites 2015-09-18 15:58:16 -07:00
Chinmay Garde
95d0e29cb6 Merge pull request #1244 from chinmaygarde/master
Fix Build: Remove incorrect include of deleted picture_rasterizer.h
2015-09-18 15:37:25 -07:00