6305 Commits

Author SHA1 Message Date
Adam Barth
aec7d422e7 Pass the Mozart ViewHost into Dart
Dart needs access to the ViewHost in order to create child views.
2016-02-03 14:39:45 -08:00
Adam Barth
4192794b60 Merge pull request #2347 from abarth/composite_child_scenes
Include child scenes when uploading to Mozart
2016-02-03 14:21:22 -08:00
Adam Barth
e3bf0fa3c1 Include child scenes when uploading to Mozart
Previously we just dropped child scenes on the floor. Now we upload them
to Mozart. However, we just draw them on top of all the other content
and don't apply any clips or blends.
2016-02-03 14:16:09 -08:00
Chinmay Garde
cd2dbd5ed9 Merge pull request #2346 from chinmaygarde/master
Make the `dynamic_service_loader` target explicitly depend on common deps for generated headers
2016-02-03 14:01:59 -08:00
Chinmay Garde
7dcf0c7765 Make the dynamic_service_loader target explicitly depend on common deps for generated headers 2016-02-03 13:59:17 -08:00
Chinmay Garde
144ed4d35e Merge pull request #2345 from chinmaygarde/master
Install Mojo system thunks in dylib loaded for dynamic service resolution
2016-02-03 13:45:59 -08:00
Chinmay Garde
c40b3d808d Install Mojo system thunks in dylib loaded for dynamic service resolution 2016-02-03 13:45:20 -08:00
Devon Carew
f528cf38ff Merge pull request #2341 from devoncarew/xcode_target
use 'build --target' in the xcode project instead of --main
2016-02-03 11:49:37 -08:00
Ian Hickson
3f1bde7196 Merge pull request #2343 from Hixie/rev
revving engine
2016-02-03 10:13:53 -08:00
Hixie
01acefa749 revving engine 2016-02-03 10:13:24 -08:00
Adam Barth
974f0a3b64 Merge pull request #2342 from abarth/fix_mac
Fix the mac build
2016-02-03 10:11:39 -08:00
Adam Barth
94dac511f6 Fix the mac build 2016-02-03 09:58:47 -08:00
Devon Carew
938cf2d2b0 use 'build --target' in the xcode project instead of --main 2016-02-03 09:29:49 -08:00
Chinmay Garde
99b4f89c03 Merge pull request #2340 from chinmaygarde/master
Fix iOS implementation of SystemChrome after mojom updates
2016-02-02 17:11:20 -08:00
Chinmay Garde
9701b8ae7b Fix iOS implementation of SystemChrome after mojom updates 2016-02-02 17:08:54 -08:00
Jason Simmons
2dd834fd45 Merge pull request #2339 from jason-simmons/platform_activity_services
Implementation of platform services for Android
2016-02-02 17:02:59 -08:00
Chinmay Garde
57fdc5bf8a Merge pull request #2338 from chinmaygarde/master
Allow dynamic service resolution in the iOS shell
2016-02-02 16:56:01 -08:00
Chinmay Garde
a7349a1142 Allow dynamic service resolution in the iOS shell 2016-02-02 16:55:35 -08:00
Jason Simmons
7730a0c123 Implementation of platform services for Android 2016-02-02 16:10:22 -08:00
Ian Hickson
b70508cbd0 Merge pull request #2337 from Hixie/semantics-mojom
Make the arrays nullable in the Semantics mojom.
2016-02-02 14:53:28 -08:00
Yegor
6d086badf9 Merge pull request #2336 from yjbanov/contributing-update-2
tell people to submit code after LGTM
2016-02-02 13:53:09 -08:00
Hixie
00f2b17f66 Make the arrays nullable in the Semantics mojom. 2016-02-02 13:36:15 -08:00
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
yjbanov
88abfa0377 tell people to submit code after LGTM 2016-02-02 12:20:08 -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