415 Commits

Author SHA1 Message Date
Adam Barth
9c09565712 Update paths to account for buildroot 2016-08-09 13:52:15 -07:00
Adam Barth
90039f8efb Fix build 2016-08-08 15:19:59 -07:00
Adam Barth
11dbbd0b24 Remove more //base dependencies from //sky/engine (#2887) 2016-08-08 14:52:52 -07:00
John McCutchan
dedab3e6e7 Add an association between FlutterViews and Dart Isolates to the PlatformView service protocol support (#2886) 2016-08-08 13:04:15 -07:00
Adam Barth
13af58bfc4 Remove //base dependency from asset system (#2885)
This patch centralizes the asset bundle processing in //flutter/assets and
removes the //base dependency from the code.
2016-08-08 12:56:13 -07:00
Adam Barth
aa81407796 Attempt to fix build 2016-08-07 13:49:40 -07:00
Adam Barth
6c69724859 Remove data_pipe_utils from //flutter/tonic 2016-08-07 12:35:25 -07:00
Adam Barth
d5232635f9 Remove //base from //flutter/tonic 2016-08-07 12:35:25 -07:00
Adam Barth
9668ba422f Remove //base from DartController 2016-08-07 12:35:25 -07:00
Adam Barth
dfd6f99240 Remove //base depedency from DartDebugger 2016-08-07 12:35:25 -07:00
Adam Barth
33da97b1f6 Remove more //base dependencies (#2880) 2016-08-05 20:31:30 -07:00
Adam Barth
1c9c7aa826 Switch to using //lib/tonic's DartWrappable (#2878)
This removes most (all?) of our dependency on base::RefCountedThreadSafe.
2016-08-05 16:43:35 -07:00
Adam Barth
b2c296c52b Fix build 2016-08-05 09:20:07 -07:00
Adam Barth
f0967c24e5 Remove more //base dependencies (#2870)
WTF is now //base clean.
2016-08-05 00:00:24 -07:00
Adam Barth
5feb8266f8 Switch //sky/engine to ftl::TaskRunner (#2866)
The ftl::TaskRunner is still based on a base::MessageLoop, but this patch paves
the way to replace the message loop on Fuchsia.
2016-08-04 19:25:04 -07:00
John McCutchan
b13b79b331 Implement RunInView service protocol extension (#2862) 2016-08-04 14:10:27 -07:00
John McCutchan
c1dbf57395 Add DirectoryAssetBundleService to engine (#2827) 2016-08-03 18:01:10 -07:00
John McCutchan
3ed2fb026e Add collection of PlatformViews to the Shell and allow them to be queried over the service protocol (#2861) 2016-08-03 15:55:31 -07:00
Adam Barth
1e250cfc5f Migrate more code to //lib/tonic (#2860)
* Adopt //lib/tonic/logging

* Adopt //lib/tonic/scopes

* Adopt //lib/tonic/parsers
2016-08-03 14:43:24 -07:00
Adam Barth
bc19388819 Switch to //lib/tonic's DartConverter (#2858)
Also, switch over to //lib/tonic's typed data classes.
2016-08-03 14:09:07 -07:00
Adam Barth
1c68b123c6 Reland "Remove more //base dependencies" (#2857)"
Hopefully this will build this time.
2016-08-03 12:58:35 -07:00
Ian Hickson
abb9c78d57 Revert "Remove more //base dependencies" (#2857) 2016-08-03 11:29:20 -07:00
Adam Barth
bce0d690a4 Remove more //base dependencies (#2856) 2016-08-03 10:35:14 -07:00
Adam Barth
2629d5e73b Remove a pile of dead code (#2855)
* Remove time

* Remove rand

* Remove array buffers

* Remove more code

* Remove more image decoding code

* Remove more code

* Remove old public API

* Remove more old public headers

* Remove layout test support

* Remove WebPrivateOwnPtr

* Remove WebString

* Remove worker pool
2016-08-03 09:14:34 -07:00
Adam Barth
d6476a65c3 Port //flow to //lib/ftl (#2847)
This patch removes almost all //base dependency of //flow. The only dependency
left is on tracing.
2016-08-01 15:11:56 -07:00
John McCutchan
b23f07e5c7 Initial modified libraries support (#2845) 2016-08-01 12:30:44 -07:00
Jason Simmons
bdd1431079 Roll Dart (#2838) 2016-07-27 17:12:55 -07:00
Matt Perry
f5c907d663 Fix bug with text input where the cursor would render before a single (#2828)
trailing space rather than after.

We were including an empty rectangle in the list of TextBoxes for that
range.

BUG=https://github.com/flutter/flutter/issues/4911
2016-07-26 18:13:44 -04:00
Ian Hickson
e99cbb038e Tool for managing licenses. (#2822) 2016-07-26 13:10:57 -07:00
Chinmay Garde
b164edaea8 Revert "Only suppress the sampling profiler on Mac/iOS when the engine is in …" (#2814) 2016-07-21 14:18:05 -07:00
Ryan Macnak
3a4e0a0c80 Only suppress the sampling profiler on Mac/iOS when the engine is in debug mode. Makes the profiler available when using 'flutter run --profile' for iOS. (#2804)
Don't pass the --background-compilation vm flag as it has been enabled by default for quite awhile now.
2016-07-19 10:59:49 -07:00
John McCutchan
0b1986a5c1 Fix DevFS on Android devices (#2801) 2016-07-18 12:16:57 -07:00
John McCutchan
b0d50e4860 Fix service isolate startup (#2788) 2016-07-11 10:47:26 -07:00
John McCutchan
a757125bae Avoid re-entering the message loop while reloading. Fixes on stack reloading in Flutter embedder. (#2775) 2016-06-30 07:44:54 -07:00
Chinmay Garde
78af411d47 Fix leaky descriptor in dart_init and use the correct macro to handle EINTRs on close syscall wrappers. (#2765)
* Use IGNORE_EINTR instead of HANDLE_EINTR when using the `close` syscall wrapper.
* Don't leak the file descriptor used to memory map Dart related artifacts.
2016-06-17 12:04:30 -07:00
Adam Barth
a89a5c91c4 The gen_snapshot tool requires this field to be present (#2762) 2016-06-16 09:25:15 -07:00
Adam Barth
211f2d4afb Revert base roll and its fallout.
Updating base turns out to be more complicated than I thought.

This reverts commit daa822aae70a8ab860ed8f085cdadf6987c28d03.
This reverts commit c38428c7b98951e2cccf6b38881eabd87786da49.
This reverts commit 4b73a8a0486d45081c5dde4e2c51c32d1376250b.
2016-06-15 17:30:27 -07:00
Adam Barth
4b73a8a048 Roll base (#2761)
Update base, gn, and their clients.
2016-06-15 14:52:53 -07:00
Adam Barth
f13875ca92 Move Canvas into //flutter/lib/ui (#2754)
This patch moves the remainder of painting and compositing into their
new home (and updates their style to match Google C++ Style).
2016-06-14 23:14:14 -07:00
Adam Barth
9bc546abef Remove Dart_GetField from Paint marshalling (#2753)
This should make almost every Canvas call significantly faster.
2016-06-14 21:11:11 -07:00
Adam Barth
8e475a9570 Move most of //sky/engine/core/painting to //flutter/lib/ui/painting (#2752)
These parts don't depend on engine anymore. Also reformat them to match Google
C++ style.
2016-06-13 17:23:34 -07:00
Adam Barth
46b73701f8 Start moving dart:ui into //flutter/lib/ui (#2750)
This patch moves the geometry classes.
2016-06-13 15:30:33 -07:00
Adam Barth
864beb8d26 Fix build 2016-06-13 12:45:11 -07:00
Adam Barth
c11bf6e6f8 Fix ASSERT in weather demo (#2749)
Because we're not using array buffers to marshall the vertex data for
drawVertices and drawAtlas, we need to process the paint argument first so that
we don't call Dart_GetField after creating a view into an array buffer.
2016-06-13 12:32:20 -07:00
Adam Barth
5f14c77402 Implement Canvas.drawPoints (#2748)
* Implement Canvas.drawPoints

This enables drawing polygons faster than using Paths.

Fixes https://github.com/flutter/flutter/issues/92

* Implement more Path functions

Path.fillType
Path.addPolygon
Path.addPath
Path.extendWithPath
Path.transform

Fixes https://github.com/flutter/flutter/issues/252
2016-06-13 11:42:01 -07:00
Adam Barth
f7405a3705 Remove more calls to Dart_GetField (#2747)
The only remaining calls to Dart_GetField are for Paint, which will be
handled in a later patch.
2016-06-12 00:18:16 -07:00
Adam Barth
12fab2f28a Move dart:jni to //flutter/lib/jni (#2744)
This patch disentangles dart:jni from //sky/engine and moves it into
//flutter/lib/jni. Eventually dart:ui will move into a peer directory.
2016-06-11 09:15:39 -07:00
Adam Barth
fabd183e6f Remove more calls to Dart_GetField (#2745)
This patch removes a number of the classes that were generating
Dart_GetField calls, particularly related to drawAtlas and drawVertices.
The functions that used these classes now use primatives instead, which
is more efficient.
2016-06-11 09:15:26 -07:00
Adam Barth
b6d8572687 Remove dead code (#2743)
We don't use this code anymore.
2016-06-10 22:45:26 -07:00
Adam Barth
633d674c48 Move tonic to //flutter/tonic (#2742)
Now that tonic doesn't depend on anything in //sky/engine anymore, we
can move the code to a location where its dependencies are clearer.
2016-06-10 22:36:38 -07:00