6622 Commits

Author SHA1 Message Date
Jason Simmons
a7e7647dc3 Merge pull request #2505 from jason-simmons/embed_engine_api
Make the engine private to the Sky package and expose the relevant pu…
2016-03-15 10:08:53 -07:00
Eric Seidel
51c923e198 Merge pull request #2504 from flutter/flutter_not_webkit
Update ASSERTs in flutter engine to use flutter
2016-03-14 16:58:39 -07:00
Jason Simmons
e2e7e4c79a Make the engine private to the Sky package and expose the relevant public methods on PlatformViewAndroid 2016-03-14 16:37:58 -07:00
Eric Seidel
76a090d00a Update ASSERTS in flutter engine to use flutter
Fixes https://github.com/flutter/flutter/issues/2692

@Hixie
2016-03-14 16:23:19 -07:00
Jason Simmons
c5a86a244a Merge pull request #2497 from jason-simmons/gradle_public_api
Expose some public APIs for use by Flutter embedders outside the sky …
2016-03-14 11:03:48 -07:00
Chinmay Garde
46c9d83693 Merge pull request #2501 from chinmaygarde/master
Update Dart dependency to pick up updates to timeline API
2016-03-14 08:23:49 -07:00
Chinmay Garde
1d08205b4f Update Dart dependency to pick up updates to timeline API 2016-03-14 07:25:27 -07:00
Chinmay Garde
c258c51d1b Merge pull request #2500 from chinmaygarde/rm_proto
Remove prototype.patch
2016-03-12 19:26:04 -08:00
Chinmay Garde
a6bacd392f Remove prototype.patch 2016-03-12 19:22:01 -08:00
P.Y. Laligand
0fd9b1f28e Merge pull request #2499 from pylaligand/mojo
Store the Mojo revision in mojo/VERSION.
2016-03-11 20:19:29 -08:00
Adam Barth
ace0d2f23b Merge pull request #2498 from abarth/mozart_scale2
Fix device pixel ratios in Mozart for reals
2016-03-11 20:15:59 -08:00
P.Y. Laligand
a59f819da9 Store the Mojo revision in mojo/VERSION. 2016-03-11 17:17:05 -08:00
Adam Barth
9aceef9a44 Fix device pixel ratios in Mozart for reals
We need to adjust the transform matrix to undo the device scale.
2016-03-11 17:01:06 -08:00
Jason Simmons
722d712b7e Expose some public APIs for use by Flutter embedders outside the sky shell package
Also add a PlatformViewAndroid constructor required to support inflating
a Flutter view from an XML layout
2016-03-11 14:43:35 -08:00
Jason Simmons
787e69fc45 Merge pull request #2492 from jason-simmons/gradle_flutter_jar
Build a Flutter.jar output for use by Android projects built without …
2016-03-11 14:11:07 -08:00
Alhaad Gokhale
958f28cd9b Merge pull request #2496 from abarth/mozart_scale
Flutter embedded in Flutter via Mozart is double scaled
2016-03-11 14:10:29 -08:00
Adam Barth
2653005461 Flutter embedded in Flutter via Mozart is double scaled
We weren't correctly dividing by the device pixel ratio when asking Mozart to
present our child scene.
2016-03-11 13:36:59 -08:00
Jeff Brown
8cde443249 Merge pull request #2495 from j9brown/views
Specify a clip rect for ChildSceneLayers.
2016-03-11 09:37:18 -08:00
Jeff Brown
fd204d4d76 Specify a clip rect for ChildSceneLayers.
When linking in a scene, it's a good idea to specify its clip rectangle
to ensure that its content does not draw or capture input from its
surrounding space.

A future version of the Mozart view manager may automatically wrap a
view's scene with a clip rectangle to avoid composition gotchas like this
but it currently doesn't.  So the net effect is that if you embed a view
without specifying a clip, it can draw or capture input from anywhere
within its container.
2016-03-10 18:33:08 -08:00
Chinmay Garde
424c27a06a Merge pull request #2494 from chinmaygarde/master
Fix issue caught by Clang analyzer in the Flutter iOS framework
2016-03-10 17:29:10 -08:00
Chinmay Garde
d0839ab662 Fix issue caught by Clang analyzer in the Flutter iOS framework 2016-03-10 17:20:46 -08:00
Chinmay Garde
87de3c265e Merge pull request #2493 from chinmaygarde/master
Avoid importing the internal lib into the builtin since its disallowed after Dart_Precompile.
2016-03-10 15:37:00 -08:00
Chinmay Garde
8de9e928cd Update analyze.sh to ignore error on import of _internal in dart_ui.dart 2016-03-10 15:31:18 -08:00
Jason Simmons
982a6f0ef6 Build a Flutter.jar output for use by Android projects built without the Flutter tools
Flutter.jar contains the Flutter engine Java code, native code and resources.
It can be incorporated into projects built with external build systems such as Gradle.
2016-03-10 14:41:33 -08:00
Chinmay Garde
26d5aeb2e2 Avoid importing the internal lib into the builtin since its disallowed after Dart_Precompile.
Import the library directly in dart_ui.dart.
2016-03-10 14:40:26 -08:00
Adam Barth
9917136fec Merge pull request #2491 from abarth/roll
Update mojo
2016-03-10 13:20:36 -08:00
Jason Simmons
98d9403d33 Merge pull request #2489 from jason-simmons/shutdown_dart_state
Delete DartState during isolate shutdown
2016-03-10 13:09:48 -08:00
Adam Barth
3f4224d069 Update mojo_sdk 2016-03-10 12:58:18 -08:00
Adam Barth
cb64ca3811 Update to mojo b76db373e90403dbf8f63d86efb80f07ae9b128c 2016-03-10 12:58:04 -08:00
Chinmay Garde
526809602b Merge pull request #2490 from chinmaygarde/master
iOS: Rename ObjC files to follow Google style guide
2016-03-10 12:28:35 -08:00
Chinmay Garde
02547a3d47 iOS: Rename ObjC files to follow Google style guide 2016-03-10 12:23:59 -08:00
Chinmay Garde
296c1c9039 Merge pull request #2484 from chinmaygarde/master
Allow PlatformMacMain to be called multiple times
2016-03-10 12:16:20 -08:00
Jason Simmons
0ce96c8a55 Delete DartState during isolate shutdown
This solves two problems:
* UIDartState was being deleted during destruction of DartController after the
  isolate had been shut down.  The UIDartState held persistent handles to Dart
  objects, and deleting them when the isolate no longer exists caused an
  assertion failure.
* DartStates created for secondary isolates were never being deleted

Fixes https://github.com/flutter/flutter/issues/2549
2016-03-10 10:47:46 -08:00
Adam Barth
d1515e6764 Merge pull request #2488 from abarth/fix_ios
Fix iOS build
2016-03-10 08:25:01 -08:00
Adam Barth
15435a5b23 Fix iOS build
We don't have _getCreateTimerClosure, which means we need to remove it from the
dart_vm_entry_points.txt list.

Fixes https://github.com/flutter/flutter/issues/2569
2016-03-10 08:20:21 -08:00
Chinmay Garde
d1376fc93c Allow PlatformMacMain to be called multiple times
It is called each time the embedder initializes a Flutter view controller. The Mac shell (which does not have a view controller), calls it before NSApplicationMain.

Common items like the base::AtExitManager and the platform message loop are stored in `EmbedderState`
2016-03-09 17:49:17 -08:00
Chinmay Garde
2e0ae759e6 Merge pull request #2486 from chinmaygarde/symbol_visibility
Avoid leaking service runtime symbols from the Flutter embedder.
2016-03-09 17:46:18 -08:00
Yegor
f2d8d75897 Merge pull request #2487 from yjbanov/android-build-fix
[shell] fix missing header in shell.cc
2016-03-09 17:26:40 -08:00
yjbanov
7e2a05427b [shell] fix missing header in shell.cc 2016-03-09 17:26:10 -08:00
Chinmay Garde
212471352c Avoid leaking service runtime symbols from the Flutter embedder.
Also gets rid of an defunct target in `dynamic/BUILD.gn`
2016-03-09 17:19:44 -08:00
Yegor
445fa59f88 Merge pull request #2485 from yjbanov/remove-message-loop
[tracing] refactor TracingController
2016-03-09 17:02:54 -08:00
yjbanov
288dfae36f [tracing] refactor TracingController
- remove the unnecessary MessageLoop
- split stopping the trace from downloading it
- support waiting for the trace file to be finalized
- fix the missing null-termination in the trace data string
2016-03-09 16:45:47 -08:00
Chinmay Garde
6c4c0a182b Merge pull request #2481 from chinmaygarde/master
If a custom ICU data file path is specified, attempt loading from that instead of loading from the default path.
2016-03-09 15:46:04 -08:00
Jason Simmons
45d2807c23 Merge pull request #2483 from jason-simmons/snapshot_absolute_path
Handle both absolute and relative paths when generating sky_snapshot …
2016-03-09 15:24:25 -08:00
Jason Simmons
eae9ad2dfc Handle both absolute and relative paths when generating sky_snapshot dependencies 2016-03-09 15:19:17 -08:00
Ian Hickson
8c83cab8f2 Merge pull request #2482 from Hixie/Picture.playback
Remove Picture.playback, and other clarifications
2016-03-09 14:59:52 -08:00
Hixie
87f38fa63d Remove Picture.playback, and other clarifications 2016-03-09 13:54:02 -08:00
Chinmay Garde
274f98ef0d If a custom ICU data file path is specified, attempt loading from that instead of loading from the default path. 2016-03-09 11:27:52 -08:00
Adam Barth
b362896236 Merge pull request #2480 from abarth/keyboard_state
Keyboard can get out of sync with flutter
2016-03-09 10:34:47 -08:00
Adam Barth
77e7311ced Keyboard can get out of sync with flutter
We need to tell the InputMethodManager to restartInput whenever we change our
editing state or else it might persist state from earlier in the editing
session.

Fixes https://github.com/flutter/flutter/issues/2431
2016-03-09 09:24:23 -08:00