Adam Barth
142c5dc5ec
Remove almost all uses of base::scoped_ptr
...
We now use std::unique_ptr more consistently.
2016-01-27 01:05:47 -08:00
Chinmay Garde
bb2affa7e5
iOS: Add an explicit FLX resource copy phase to the framework target
...
Also asserts on there being an FLX bundle at all
2016-01-26 14:34:21 -08:00
Collin Jackson
8d056e02a6
Use the same registration process as GCM for Firebase
2016-01-22 18:23:22 -08:00
Matt Perry
0ee5a29163
Support dynamic registration of mojo services on Android
...
SkyApplication now reads service info from a services.json file bundled
with the apk. For each service, it registers a method that invokes
connectToService on a named class. This way, third party services can
register themselves.
There's a corresponding change to flutter_tools to generate this
services.json when building an apk that depends on services.
2016-01-21 16:55:51 -05:00
Adam Barth
33d7553e39
Improve handling of window insets on Android
...
Now that we understand window insets, we don't need to hard-code the size of
the status bar. Also, convert the viewport metrics to be consistently in
physical pixels.
2016-01-21 11:24:17 -08:00
Chinmay Garde
278af8d155
Path service implementation for iOS
2016-01-15 16:33:02 -08:00
Collin Jackson
9d715b340a
Initial Firebase Flutter service implementation
2016-01-08 15:28:07 -08:00
Jason Simmons
a9c22e9d8c
Initial work toward exposing the Java native interface APIs in Dart
2016-01-07 15:06:35 -08:00
Collin Jackson
0d4185b4f6
Fix typo in application identifier
2016-01-04 12:21:13 -08:00
Adam Barth
241fc21055
Don't destory the engine when detaching from the window
...
Reading the Android docs, it sounds like an android.view.View can re-attach to
the window after detaching. Previously, we destroyed the engine when we
detached from the window. Now we wait for the activity to be destroyed.
Hopefully fixes #997
2016-01-04 10:39:09 -08:00
Adam Barth
b4377c93dd
Remove RuntimeEnabledFeatures
...
This complex machinery made sense for Blink, which has hundreds of
developers. In our case, we're just moving around two bools. We can do
that in a much simpler way.
2015-12-29 22:27:18 -08:00
Jason Simmons
e55cf62694
Provide callbacks for activity pause and resume events
2015-12-15 18:01:36 -08:00
Adam Barth
9c3aac7c2f
Remove //url
...
We don't use this anymore.
2015-12-11 11:20:23 -08:00
Chinmay Garde
4aa37e086a
Load the application from the flx bundle on iOS simulator
2015-12-10 16:05:52 -08:00
Hixie
9236be1360
Fix mouse on linux.
2015-12-09 10:16:23 -08:00
Hixie
07aa429175
Fix pointers in mojo.
...
Make the mojo implementation of the pointer packet logic fake move
events when it would send ups or downs without corresponding moves.
2015-12-08 13:07:31 -08:00
Matt Perry
6a2f58091f
Turn on FLX updater.
2015-12-08 14:41:32 -05:00
Jason Simmons
98427a2763
Tell Flutter about the host platform's locale
2015-12-07 14:27:22 -08:00
Chinmay Garde
4c8a138a29
Add a startup instant marker
2015-12-04 14:50:58 -08:00
Chinmay Garde
ee55c83609
Add startup trace events
2015-12-04 14:40:12 -08:00
Chinmay Garde
40bda43619
Name the main thread on mac
2015-12-04 14:25:11 -08:00
Chinmay Garde
95ba64b711
Allow enabling tracing in base without an instance of the tracing controller
2015-12-03 15:08:20 -08:00
Chinmay Garde
abe709013c
Start tracing in base before a tracing controller instance is available
2015-12-03 14:56:55 -08:00
Eric Seidel
231ee08fd7
Add support on Android for --trace-startup
...
Now 'flutter start --trace-startup' can trigger this tracing
on Android
@chinmaygarde
2015-12-03 12:25:26 -08:00
Eric Seidel
d91d60d449
Give the java ui thread a name in trace files
...
@abarth
2015-12-03 11:25:04 -08:00
Eric Seidel
a92597ee07
Add various trace events for tracing startup
...
@abarth
2015-12-02 12:18:20 -08:00
Chinmay Garde
34696334a4
Allow capturing unified (Dart and base) traces from observatory
...
* Start capturing via <obs_host>:<obs_port>/flutter_startTracing
* Stop capturing via <obs_host>:<obs_port>/flutter_stopTracing
2015-12-01 13:26:53 -08:00
Adam Barth
68dfad8e92
Add --flx flag to load FLX files
...
Also, remove the --snapshot flag because using FLX files is the path we're
paving.
2015-11-27 23:14:07 -08:00
krisgiesing
4dad72a7d2
Merge pull request #2109 from krisgiesing/remove_statics
...
Remove static data from Java keyboard-related service implementations
2015-11-24 15:38:35 -08:00
Kris Giesing
e37a1e0c38
Remove static data from Java keyboard-related service implementations
...
Fixes #299
2015-11-24 15:04:29 -08:00
Adam Barth
a9db805f58
Add system-level routing
...
We now respect the "route" field in Intents to load a route other than '/'.
Also, use popRoute rather than events to indicate that the framework has asked
us to go back.
2015-11-24 12:40:41 -08:00
Kris Giesing
d392aea9da
Add support for IME on mojo/Linux
2015-11-20 15:02:56 -08:00
George Kulakowski
e60e50386a
Add fnl build configuration
2015-11-18 13:07:19 -08:00
Adam Barth
db2c9d43ce
Remove sky_viewer.mojo
...
We now use flutter.mojo instead.
2015-11-17 14:32:57 -08:00
Chinmay Garde
9497a37460
Initialize the window_ ivar in PlatformView to gfx::kNullAcceleratedWidget
2015-11-17 12:04:03 -08:00
Adam Barth
4e0ec4c23b
Fix the units for Pointer events
...
The time_stamp is supposed to be in microseconds. Previously we were using
milliseconds.
2015-11-17 11:21:58 -08:00
Adam Barth
c9b7f2f7d4
Scrollable widgets don't fling in MojoShell
...
There's some confusion over the units for time_stamp. This patch works around
the issue. I've filed a bug (https://github.com/domokit/mojo/issues/541 ) to
figure out the right fix.
Also, rename the final target to flutter.mojo, which is a more descriptive
name.
2015-11-17 09:41:07 -08:00
Adam Barth
ae58ba7c8c
Bring sky_shell.mojo up to feature parity with sky_viewer.mojo
...
I believe this patch implements all the remaining features from
sky_viewer.mojo.
2015-11-16 17:19:35 -08:00
Collin Jackson
794caa2314
Merge pull request #2059 from collinjackson/rename_flutter_strings
...
Fix #371 Replace “chromium” and “sky” with “flutter” in logs and Mac Shell UI
2015-11-16 14:54:30 -08:00
Collin Jackson
0904164fd6
Fix https://github.com/flutter/flutter/issues/371 renaming "sky" and "chromium" to "flutter" in logs and Mac Shell UI
2015-11-16 14:54:18 -08:00
Adam Barth
ba603acc04
Fix build and rename a variable
...
I was supposed to rename this variable before landing the previous patch.
2015-11-16 14:42:44 -08:00
Adam Barth
530d7f3851
Handle pointer input in sky_shell.mojo
2015-11-16 14:26:45 -08:00
Adam Barth
77f873c1a4
Wire in Mojo services to sky_shell.mojo
...
After this patch, code running in sky_shell.mojo has access to Mojo services.
2015-11-16 12:56:08 -08:00
Adam Barth
9dc71cb51f
Refactor how we wire up platform services
...
Now the control flow for wiring up platform services starts in the
platform-specific code. Previously we started in shared code, which was
imposing constraints on the startup sequence for all platforms. Now that we
start in platform-specific code, we'll be able to add better support for Mojo
in a future patch.
2015-11-16 12:24:28 -08:00
Adam Barth
3082e82586
Merge pull request #2054 from abarth/rm_network
...
Remove sky:🐚 :Engine's dependency on network_service
2015-11-16 09:50:23 -08:00
Adam Barth
33a1cd3e87
Remove sky: 🐚 :Engine's dependency on network_service
...
We weren't using the network service for anything.
2015-11-16 09:22:06 -08:00
Adam Barth
56601fcfa3
Wire sky_shell.mojo to draw via MGL
...
After this patch, we can execute Dart code and draw the result via MGL. We
still need to plumb in services.
2015-11-14 07:42:25 -08:00
Adam Barth
96b847cd43
Wire sky_shell.mojo up to native_viewport
...
After this patch, we can execute Dart code an create an X window. There's a
sketch of some graphics code, but it's not wired up yet.
2015-11-13 14:00:34 -08:00
James Robinson
3e79cc5829
Nuke //ui/events, all users are runtime dead
2015-11-11 17:33:07 -08:00
Adam Barth
04391cf941
Add a basic sky_shell.mojo
...
Currently sky_shell.mojo can't load any Flutter apps or draw to the screen, but
that will come in later patches.
2015-11-11 14:06:55 -08:00