Adam Barth
3187dd13e2
Update to mojo 891577b0517de5aeca538d99669787c6dc72412a
2016-03-23 09:36:02 -07:00
Adam Barth
fc5ddc3058
Skip char key events
...
It's confusing to send two key press events. Instead, just send the
lower-level, non-char event.
The real fix will be to define a sensible key event protocol for Mozart, but
this patch unblocks people who are experimenting at higher layers of the stack.
2016-03-22 12:42:10 -07:00
Adam Barth
56bca69d7a
Revert "Update to mojo 891577b0517de5aeca538d99669787c6dc72412a"
...
This reverts commit 7bfce5cb2644c64f172e64708b0b246db3567154.
This reverts commit a550e7e3958a9910946acc4e37f1fd0ed4ccd17c.
2016-03-21 17:17:50 -07:00
Adam Barth
a550e7e395
Update use of Mojo APIs
2016-03-21 16:52:01 -07:00
Jason Simmons
370db6cda3
Provide Mojo services for passing application-specific messages between the host and Flutter
2016-03-21 11:25:00 -07:00
Adam Barth
d8ed73e0a9
Wire up raw keyboard events in Mozart
2016-03-18 14:13:12 -07:00
Adam Barth
944b2eeca9
Move Keyboard and RawKeyboard to view services
...
These services are relative to the current view, which means they should come
in through the view services.
2016-03-18 12:37:30 -07:00
Adam Barth
678d5f9bac
Cleanup MojoServices in dart:ui
...
This patch cleans up the way we expose Mojo services into Dart. It also adds a
service provider for "view services," which will evetually contain the raw
keyboard service.
2016-03-18 10:52:13 -07:00
Adam Barth
410aac589b
Flutter apps in Mozart should have reasonable Uri.base
...
Previously this value was the temp directory that we used to store the FLX
bundle. Now it's the URL given to us by MojoShell.
2016-03-18 09:53:44 -07:00
Chinmay Garde
99f1529ebd
Merge pull request #2522 from chinmaygarde/master
...
Make the iOS shell use the public Flutter framework API.
2016-03-17 17:03:04 -07:00
Chinmay Garde
46070d433e
Make the iOS shell use the public Flutter framework API.
...
Also cleans up the messages when errors occur in both modes. I have also made the API a lot simpler and moved more of the extraneous stuff out of public. Only FlutterViewController and the Dart project configuration are publically available.
2016-03-17 16:44:25 -07:00
John McCutchan
a8ea37b714
Merge pull request #2515 from johnmccutchan/observatory_auto_port
...
Auto select Observatory port on Android and iOS simulators
2016-03-17 14:24:19 -07:00
John McCutchan
4d7272446d
Auto select Observatory port on Android and iOS simulators
2016-03-17 11:43:41 -07:00
Chinmay Garde
e09819e544
Fix Android builds. Accessing traces is now possible from observatory.
2016-03-17 11:24:52 -07:00
Chinmay Garde
f5f8636cc6
Merge pull request #2502 from chinmaygarde/master
...
Wire up the TracingController to the the Dart embedder timeline API
2016-03-16 18:17:30 -07:00
Chinmay Garde
09972ad11c
Wire up the TracingController to the the Dart embedder timeline API
2016-03-16 16:08:47 -07:00
Jason Simmons
a3201f2023
Move SkyApplication initialization into SkyMain
...
This allows Flutter embedders to set up Flutter from their own application
class instead of using or subclassing SkyApplication
2016-03-16 10:28:40 -07:00
Adam Barth
e3c3be1c21
Handle 0x0 sizes in Mozart
...
When we're created off-screen, Mozart gives us a 0x0 view to populate. Rather
than trying to draw a 0x0 texture, we just acknolwedge the frame request
immediately. This matches what we do in the non-Mozart rasterizer.
2016-03-15 13:37:17 -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
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
Chinmay Garde
d0839ab662
Fix issue caught by Clang analyzer in the Flutter iOS framework
2016-03-10 17:20:46 -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
Adam Barth
3f4224d069
Update mojo_sdk
2016-03-10 12:58:18 -08:00
Chinmay Garde
02547a3d47
iOS: Rename ObjC files to follow Google style guide
2016-03-10 12:23:59 -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
yjbanov
7e2a05427b
[shell] fix missing header in shell.cc
2016-03-09 17:26:10 -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
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
Chinmay Garde
a6464d0298
Allow PlatformMacMain to be called mutliple times by third party flutter embedders
...
If we control the embedder, we call it just once and have it wrap UIApplicationMain.
2016-03-08 17:12:18 -08:00
Chinmay Garde
a021befd19
Prepare a framework providing an embeddable Flutter view controller
2016-03-08 16:42:07 -08:00
Chinmay Garde
9dfa087e92
iOS: Export symbols for public API from the framework dylib
2016-03-08 12:34:24 -08:00
Chinmay Garde
8ec0463dc5
iOS: Cleanup and move guts of the embedder into FlutterViewController.
...
* Remove engine code from SkySurface into the controller.
* The public API exposed by Flutter.framework for third-party embedders is present ios/public.
* Public view controller API uses idiomatic Objective-C and is subclassable by consumers.
* Paves way for moving the embedder into a framework.
2016-03-07 17:23:45 -08:00
Todd Volkert
6a1ad20ce9
Wire up locale notifications to ios.
...
Fixes #2282
2016-03-07 14:37:10 -08:00
Jason Simmons
a5b42995fd
Merge pull request #2463 from jason-simmons/font_weight_match
...
Match fonts based on weight and style attributes
2016-03-07 10:57:12 -08:00
Jason Simmons
89a9295289
Match fonts based on weight and style attributes
2016-03-04 16:03:57 -08:00
Chinmay Garde
9aebbd7db0
Merge pull request #2461 from chinmaygarde/master
...
Remove unused assets used for the defunct GN build of the iOS runner
2016-03-04 14:45:59 -08:00
Chinmay Garde
273cc22184
Remove unused assets used for the defunct GN build of the iOS runner
2016-03-04 13:57:41 -08:00
Adam Barth
e416866484
Enable Mozart hit testing
...
We now mark our root node as opaque to hit testing. We don't seem to be getting
events in child views, however.
2016-03-04 11:21:51 -08:00
Chinmay Garde
b407fc48ca
Dont include any of the machinery to generate a precompilation snapshot on the embedder VM
2016-03-03 14:30:32 -08:00
Hixie
121fe0df40
Fix startup crash caused by mojo roll.
2016-03-03 09:29:33 -08:00
Adam Barth
95b5d5dfa8
Update uses of Mojo to new interfaces
2016-03-02 14:14:55 -08:00
Jason Simmons
41f93f4099
Rename DOMDartState to UIDartState
2016-03-02 10:47:30 -08:00
Jason Simmons
d474e9d2b6
Merge pull request #2439 from jason-simmons/isolate_mojo_services
...
Implement support for invoking Mojo services from secondary isolates
2016-03-02 10:04:03 -08:00
Yegor Jbanov
c537bd7bfc
use the mandatory "ext." prefix in VM service extensions
2016-02-29 16:27:15 -08:00
Jason Simmons
0ede7dded8
Implement support for invoking Mojo services from secondary isolates
2016-02-29 16:20:27 -08:00
Chinmay Garde
8b89ad7dce
Merge pull request #2435 from chinmaygarde/master
...
Allow specification of the FLX bundle (containing no Dart snapshot) outside the iOS/Mac application bundle.
2016-02-29 13:17:25 -08:00
Chinmay Garde
f9281a1edf
Allow specification of the FLX bundle (containing no Dart snapshot) outside the iOS/Mac application bundle.
...
Allows launching of apps without having any Xcodebuild step in the simulator.
2016-02-29 13:16:01 -08:00
Matt Perry
34fb968705
Remove unused UpdateService.
2016-02-29 15:11:33 -05:00
Adam Barth
cf4c62ca1d
Remove unneeded symbol from main_ios.mm
...
We don't appear to need this hack anymore.
2016-02-24 20:33:57 -08:00