6975 Commits

Author SHA1 Message Date
Ian McKellar
834d81e12e Better debugging support for flutter on mojo. (#2779)
Add a --pause-isolates-on-start flag to the flutter mojo content
handler to match the one that's supported by the dart mojo content
handler.

Fixes: https://github.com/flutter/flutter/issues/4802
2016-07-01 17:06:40 -07:00
Adam Barth
71ce354a44 Harmonize Android and iOS accessibility bridges (#2777)
These classes now use the same terminology and work in the same way.
Also, change semantics.mojom to use an enumeration of actions instead of
having a separate method per action. This will hopefully scale better.
2016-06-30 16:49:04 -07:00
Jason Simmons
2eb81e33bc Documentation for the dart:jni library (#2774) 2016-06-30 12:33:58 -07:00
Ryan Macnak
398d43e852 Roll Dart to pick up: (#2778)
- clustered serialization (dart-lang/sdk@524fbc1e0f)
 - background finalization (flutter/flutter#3804)
2016-06-30 09:22:30 -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
Adam Barth
93753789bb Add isAdjustable to SemanticFlags (#2776) 2016-06-28 15:07:55 -07:00
Chinmay Garde
bb9865538b Rename uri_launcher.mojom to url_launcher.mojom. (#2773) 2016-06-22 17:15:51 -07:00
Todd Volkert
161496dff3 Update Dart to fix crash in DBC (#2772)
https://github.com/flutter/flutter/issues/4560
2016-06-22 09:19:48 -07:00
Adam Barth
f91f5ad62f Update to mojo fd8d18dbf7a4f9ed8a607648cca6d2c595b1c580 (#2770)
* Update to mojo fd8d18dbf7a4f9ed8a607648cca6d2c595b1c580

* Update mojo_sdk

* Update to account for Mojo API changes

* Backport to older base
2016-06-21 12:52:09 -07:00
Jason Simmons
e0ae976409 Roll Dart (#2771) 2016-06-21 10:55:08 -07:00
Adam Barth
661946e3e1 Add operator== to ColorFilter (#2769)
Fixes #69
2016-06-20 20:39:19 -07:00
Jason Simmons
f59f7dadbd Remove FlutterView.onResume (#2768)
It's empty and is easily confused with onPostResume
2016-06-20 15:01:15 -07:00
Jason Simmons
471beb05aa Pass the FlutterView to app message listeners (#2767)
This will make it simpler to write listeners that can be reused in multiple
applications.
2016-06-20 13:29:46 -07:00
Ian Hickson
f8b2cca611 clang -Wextra (more all that -Wall) (#2766)
I noticed this while doing the libjpeg_turbo roll.
2016-06-17 12:38:10 -07:00
Ian Hickson
1db82fde82 Update libjpeg_turbo (#2764)
* Update libjpeg_turbo

* Update our libjpeg_turbo BUILD.gn file

This brings in this file from upstream:
https://chromium.googlesource.com/chromium/src/+/master/build/secondary/third_party/libjpeg_turbo/BUILD.gn

* We don't always build with libjpeg

...so the libjpeg target isn't always available.
2016-06-17 12:16:43 -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
John McCutchan
c69d907b49 Roll Dart forward to b2c755c59a8b2db8bfefbd922ab9ddd1a973e3bf (#2763) 2016-06-16 12:47:54 -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
daa822aae7 Fix Mac build 2016-06-15 17:19:07 -07:00
Adam Barth
c38428c7b9 Fix Mac build 2016-06-15 15:08:20 -07:00
Adam Barth
4b73a8a048 Roll base (#2761)
Update base, gn, and their clients.
2016-06-15 14:52:53 -07:00
Adam Barth
93e9328662 Fix iOS build 2016-06-15 14:03:35 -07:00
Chinmay Garde
02b7238cbb Android platform implementation of uri_launcher.mojom (#2760) 2016-06-15 12:35:06 -07:00
John McCutchan
62f7eeee8d Roll Dart forward to 9040d8f478be20e9709328c067422930a999b6cf (#2756) 2016-06-15 12:31:21 -07:00
Chinmay Garde
0b31c01843 Add platform/uri_launcher.mojom with an iOS backend. (#2759) 2016-06-15 12:17:50 -07:00
Adam Barth
886b56ad2f Fix paths in embedder.yaml (#2758)
These files are generated to different paths now.
2016-06-15 11:06:47 -07:00
Adam Barth
e34327b7b5 Move //mojo/icu to //services/icu (#2757)
The upstream mojo.git no longer contains this code.
2016-06-15 11:04:13 -07:00
Chinmay Garde
7b612b0f2f iOS: Discard the depth and stencil attachments of the framebuffer before presenting the color renderbuffer. (#2737) 2016-06-15 11:02:17 -07:00
John McCutchan
341495d517 Support for hot source reloading in the Linux glfw sky_shell (#2755)
- [x] Wire up synchronous script reloading in the library tag handler.
- [x] Allow glfw sky_shell to start from dart source as well as bundle.
2016-06-15 10:11:57 -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
Todd Volkert
be96958c6f Remove unused copy of xcode files during iOS build (#2751) 2016-06-13 16:25:54 -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
d348a40ef3 Remove unused code in //skia (#2746)
This patch removes code in //skia that we don't use.
2016-06-11 13:49:55 -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
Adam Barth
aa4ee8e272 Cleanup dependencies of core/painting (#2741)
This patch removes spurious dependences on other parts of the engine.
2016-06-10 22:29:53 -07:00
Adam Barth
584d3928ce Remove dependency from tonic to wtf (#2740)
This patch paves the way to untangling a large amount of code from the engine.
2016-06-10 16:32:53 -07:00
Adam Barth
c6f77f173e Remove Canvas.getTotalMatrix (#2739)
This is the only readback from the canvas API. Having a write-only interface
will unlock future optimizations. This function has no clients.

Fixes #4254
2016-06-10 15:48:10 -07:00
Todd Volkert
d289a3180c Rename app.so -> app.dylib (#2738) 2016-06-10 15:00:00 -07:00
Todd Volkert
a996467b0a Remove instructions to add engine's dart-sdk to user's path. (#2736) 2016-06-07 14:16:32 -07:00
Chinmay Garde
034ae44419 Only attempt to codesign service dylibs if a codesigning identity is provided. (#2735) 2016-06-03 14:36:45 -07:00