6282 Commits

Author SHA1 Message Date
Devon Carew
7204fc0663 Merge pull request #2335 from devoncarew/start_paused
some work towards a --start-paused flag
2016-02-02 12:20:43 -08:00
Devon Carew
3c83f895ed some work towards a --start-paused flag 2016-02-02 11:44:01 -08:00
Chinmay Garde
105e69b4cf Merge pull request #2332 from chinmaygarde/master
iOS: Implement service providers for flutter.platform
2016-02-02 11:38:07 -08:00
Chinmay Garde
7fe880d89f iOS: Implement service providers for flutter.platform 2016-02-02 11:37:18 -08:00
Yegor
2d4ebf26a6 Merge pull request #2334 from yjbanov/contributing-update
add section on submitting code in CONTRIBUTING.md
2016-02-02 11:27:18 -08:00
yjbanov
43bf3ce10e add section on submitting code in CONTRIBUTING.md 2016-02-02 11:25:43 -08:00
Adam Barth
69abe6b091 Rev pub packages 2016-02-02 10:44:46 -08:00
Adam Barth
12533a6668 Merge pull request #2333 from abarth/editing_mojom
Improve IME interface
2016-02-02 10:43:39 -08:00
Adam Barth
bdacb56cdd Improve IME interface
Instead of providing a stream of mutations, we now provide a the client with
the complete state of the editing control to prevent the two from getting out
of sync.

As a side-effect, we can now move the cursor around when editing a text field.
2016-02-01 20:41:48 -08:00
Chinmay Garde
191413999f Merge pull request #2330 from chinmaygarde/master
Add an assertion in debug if the application requests an unknown service
2016-02-01 15:42:33 -08:00
Chinmay Garde
7cc0e03ba5 Remove the mojo::Close call because the desctructor will automatically be called when the handle goes out of scope 2016-02-01 13:14:34 -08:00
Jason Simmons
ace8cff0e8 Merge pull request #2331 from jason-simmons/suspend_resume_blank
Reset all animator state when restarting a paused animator
2016-02-01 13:14:07 -08:00
Jason Simmons
3407ce1fb9 Reset all animator state when restarting a paused animator
Fixes #1499
2016-02-01 13:05:54 -08:00
Chinmay Garde
2854f56be1 Add an assertion in debug if the application requests an unknown service 2016-02-01 12:56:02 -08:00
Jason Simmons
ec92d0c3f4 Merge pull request #2329 from jason-simmons/suspend_skia_crash
Clear the Flow raster cache when a GrContext is destroyed
2016-02-01 10:57:16 -08:00
Jason Simmons
052d65cc14 Clear the Flow raster cache when a GrContext is destroyed
After an application is suspended and the GrContext associated with the
Flutter view is destroyed, the raster cache still contains images tied
to the defunct context.  The SkyShell process will crash if these images
are used after the application resumes.
2016-02-01 10:36:09 -08:00
Adam Barth
20b8d0bdc8 Merge pull request #2328 from abarth/flow_mozart
Move Flow layers to //flow/layers
2016-01-31 01:27:32 -08:00
Adam Barth
c3c5af1fbe Move Flow layers to //flow/layers 2016-01-30 23:35:22 -08:00
Adam Barth
7bce54b79e Fix build 2016-01-30 13:42:35 -08:00
Adam Barth
62b1326390 Rev pub packages 2016-01-30 13:33:49 -08:00
Adam Barth
0a7fae7c0a Merge pull request #2295 from abarth/ios_avoid_keyboard
Teach flutter how to avoid the iOS keyboard
2016-01-30 13:32:13 -08:00
Ian Hickson
69632dda9f Merge pull request #2325 from Hixie/semantics-to-java
Support multiple Semantics listeners
2016-01-30 12:43:29 -08:00
Adam Barth
07ec7da5ee Merge pull request #2327 from abarth/position_for_point
Add Paragraph#getPositionForOffset
2016-01-30 09:27:57 -08:00
Adam Barth
21d7575716 Add Paragraph#getPositionForOffset
We'll use this function to position the caret when the user taps a text
input control.

Very little of the code in this patch is actually new. Most of it is
restoring code that we previously removed from the engine. I've made
some small changes to the restored code to handle the lack of a DOM. The
only major change is to RenderObject::createPositionWithAffinity, which
now just returns the values it captures instead of trying to compute a
DOM position.

TextAffinity and TextPosition are lifted from package:flutter. Once this
patch rolls into package:flutter, I'll remove the declarations there.
2016-01-29 23:07:51 -08:00
Adam Barth
51d68b8f91 Merge pull request #2326 from abarth/box_direction
Add the TextDirection to getRectsForRange
2016-01-29 21:25:42 -08:00
Adam Barth
88add25212 Add the TextDirection to getRectsForRange
We need this in order to draw the cursor correctly.

Fixes #1491
2016-01-29 21:12:45 -08:00
Chinmay Garde
40f3b5e429 Merge pull request #2324 from chinmaygarde/master
Extract system sound and vibration functionality out of activity.mojom
2016-01-29 17:14:14 -08:00
Chinmay Garde
6a099fa716 Extract system sound and vibration functionality out of activity.mojom 2016-01-29 17:13:47 -08:00
Hixie
ea12469ab2 Support multiple Semantics listeners 2016-01-29 17:09:58 -08:00
Chinmay Garde
b6f43b7a54 Merge pull request #2315 from chinmaygarde/master
Initial take on a potential activity.mojom replacement
2016-01-29 16:53:12 -08:00
Chinmay Garde
8ef1e51ca8 Initial take on a potential activity.mojom replacement 2016-01-29 16:52:34 -08:00
Jason Simmons
38066f62a1 Merge pull request #2323 from jason-simmons/dart_sdk_113
Rollback third_party/dart-sdk to 1.13.0
2016-01-29 15:24:48 -08:00
Jason Simmons
f0c260eb4f Rollback third_party/dart-sdk to 1.13.0 2016-01-29 15:04:14 -08:00
Adam Barth
4fe584c757 Revert "Update the DartVM"
This reverts commit 3e7cf0b74e5b49ac7a92fa34e4c4117ea871b3da.
2016-01-29 13:38:32 -08:00
Adam Barth
d4eb4e280f Rev pub packages 2016-01-29 12:44:02 -08:00
Adam Barth
640ce8134f Merge pull request #2322 from abarth/update_mojo_sdk
Update mojo_sdk
2016-01-29 12:42:57 -08:00
Adam Barth
f1ef44ce60 Update mojo_sdk 2016-01-29 12:42:00 -08:00
Adam Barth
bac2969561 Merge pull request #2321 from abarth/roll_dart
Update the DartVM
2016-01-29 12:41:03 -08:00
Adam Barth
3e7cf0b74e Update the DartVM 2016-01-29 12:39:29 -08:00
Adam Barth
c8bc30ce2f Merge pull request #2320 from abarth/update_dart
Update Dart SDK to 1.14
2016-01-29 12:14:02 -08:00
Adam Barth
5ec5e9b129 Update Dart SDK to 1.14 2016-01-29 12:13:39 -08:00
Adam Barth
340c6e7d13 Merge pull request #2319 from abarth/text_box
Introduce TextBox
2016-01-29 12:08:46 -08:00
Adam Barth
153c93e8db Introduce TextBox
TextBox is a rect that understands TextDirection.
2016-01-29 12:05:16 -08:00
Adam Barth
790ac67bec Merge pull request #2318 from abarth/text_rect
Add getRectsForRange to Paragraph
2016-01-29 09:29:48 -08:00
Adam Barth
9b6698f162 Add getRectsForRange to Paragraph
We can use getRectsForRange to implement selection painting in the
framework.
2016-01-29 01:39:47 -08:00
Adam Barth
3327046f87 Fix gn build error
We need to specify this variable now that we're sharing base with
mojo.git.
2016-01-28 23:49:06 -08:00
Jason Simmons
f5f1724bb0 Merge pull request #2316 from jason-simmons/view_reset_animator
Reset the animator before assigning a new vsync provider
2016-01-28 17:14:58 -08:00
Adam Barth
d25f3650d8 Merge pull request #2317 from abarth/deps_base
Deps base
2016-01-28 17:05:50 -08:00
Adam Barth
2a50f5727f Move base to an external repository that will pull in via DEPS
This change lets us share base with mojo.git.
2016-01-28 17:04:23 -08:00
Jason Simmons
bb50a35434 Reset the animator before assigning a new vsync provider
When the engine starts a new version of the Dart application, the animator may
have pending callbacks and other state related to the previous run of the app.
This state must be cleared before the new vsync provider is assigned.
2016-01-28 16:41:12 -08:00