2585 Commits

Author SHA1 Message Date
Matt Perry
21437d4909 Add flutter_gcm back to build deps if --enable-gcm is present. 2016-02-29 14:15:29 -05:00
Ian Hickson
5cd78908c2 Merge pull request #2431 from Hixie/null-core-types-toString
Make Offset, Point, and Size more resilient
2016-02-26 21:38:15 -08:00
Hixie
76ed6dafb7 Revert "Merge pull request #2428 from johnmccutchan/embedder_yaml"
This reverts commit ccd1c5ce1f49c763f9fbce24ad087b46083e4af0, reversing
changes made to d4f97e4fd143b075b52269e22098339941525d8e.

This was requested by @johnmccutchan because this change broke the
analyzer, which only uses SDK version 1.14.1, since that's what we pull
in. He said he'd try again on Monday.
2016-02-26 18:23:11 -08:00
Hixie
c630023887 Make Offset, Point, and Size more resilient
Turns out you can create these with null values, so toString() shouldn't
assume the values aren't null.
2016-02-26 17:51:45 -08:00
John McCutchan
ac33584da0 Add _embedder.yaml to sky_engine 2016-02-26 11:02:35 -08:00
Chinmay Garde
b6696235ed Make the precompilation dylib explicitly link with libSystem to work around dyld crash on iPhone 2016-02-25 15:48:47 -08:00
Adam Barth
d2ab5b4422 Update Skia 2016-02-25 10:47:09 -08: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
Jason Simmons
320d8e012b Merge pull request #2421 from jason-simmons/isolate_spawn
Support spawning new Dart isolates from within a Flutter app
2016-02-24 17:24:11 -08:00
Jason Simmons
470118b0de Support spawning new Dart isolates from within a Flutter app 2016-02-24 14:59:59 -08:00
Adam Barth
09e87f5865 Enable background compilation by default
We've been enabling it in the flutter tool for a while. This patch enables by
default in general.
2016-02-24 14:55:58 -08:00
Ian Hickson
52c516bd27 Merge pull request #2418 from Hixie/canvas
Trivial dartdoc typo fixes for Canvas
2016-02-23 14:15:21 -08:00
Ian Hickson
4be111aa1b Merge pull request #2419 from Hixie/style
Move style guide to website.
2016-02-23 14:15:08 -08:00
Chinmay Garde
9849fd4309 iOS/Xcode: Run the snapshotter from the project directory 2016-02-23 13:27:40 -08:00
Hixie
41459dab88 Move style guide to website.
Depends on https://github.com/flutter/website/pull/177
2016-02-23 09:03:52 -08:00
Hixie
53fff165c7 Trivial dartdoc typo fixes for Canvas 2016-02-23 08:30:22 -08:00
Yegor
2389e910a0 Merge pull request #2415 from yjbanov/style-guide-cleanup
cleanup the style guide
2016-02-22 22:54:37 -08:00
Yegor Jbanov
d2e70cedd9 cleanup the style guide
- do not repeat the Dart style guide
- use DO/DON'T/AVOID/PREVER headings similar to Effective Dart's
- consistent code example formatting
- consistent GOOD/BAD example formatting
- consistent heading syntax
- consistent line length
2016-02-22 22:46:57 -08:00
Chinmay Garde
3fb94f8d02 Merge pull request #2416 from chinmaygarde/master
Disable dead code stripping in the Dart framework dylib
2016-02-22 16:57:26 -08:00
Chinmay Garde
9aa06fe53c Disable dead code stripping in the Dart framework dylib 2016-02-22 16:44:29 -08:00
Adam Barth
6e736e7a76 Stop running asset_bundle from Mojo
Our implementation of asset_bundle is now quite different from the
canonical service.
2016-02-20 13:02:35 -08:00
Chinmay Garde
81e1f69b9d Disable the ENABLE_BITCODE flag and don't make the precompilation dylib link with standard libraries 2016-02-19 17:24:21 -08:00
Chinmay Garde
ab145b1fa9 Update the Dart VM and wire in the extra kDataSnapshot symbol for the precompiler 2016-02-19 16:48:28 -08:00
James Robinson
05f3324b8d Merge pull request #2411 from jamesr/clang_android
Enable building for Android using clang for target builds
2016-02-19 15:14:18 -08:00
Jason Simmons
3b1b465a3d Merge pull request #2412 from jason-simmons/gdb_launch
Tool for running GDB on the Flutter engine
2016-02-19 15:14:11 -08:00
Jason Simmons
978a47e0d8 Tool for running GDB on the Flutter engine 2016-02-19 14:49:44 -08:00
James Robinson
1a0f9670b0 Enable building for Android using clang for target builds 2016-02-19 14:07:57 -08:00
Eric Seidel
f94ca77317 Add explicit destructor to appease clang plugin
@jason-simmons
2016-02-19 11:03:12 -08:00
Jason Simmons
6d9419a3e7 Fix iOS build 2016-02-19 10:56:25 -08:00
Jason Simmons
e79f0be909 Merge pull request #2402 from jason-simmons/font_custom_load
Support loading of custom fonts
2016-02-19 10:11:10 -08:00
Adam Barth
67b11a6c6e Remove Dart entry point for ServiceRegistry
We don't use this entry point anymore.
2016-02-19 10:03:18 -08:00
Adam Barth
139bdb9642 Rev pub packages 2016-02-18 16:54:38 -08:00
Adam Barth
24eb9b3c19 Flutter.mojo should support multiple views
Each view gets its own Dart isolate. Unfortunately, the ShellPtr is a unique
resource, which means we need to proxy an implementation of Shell to each view.
In the future, we should probably switch dart to expect an ApplicationConnector
rather than a Shell.
2016-02-18 16:22:39 -08:00
Adam Barth
b1eb676d05 Merge pull request #2406 from abarth/rm_service_registry
Remove ServiceRegistry
2016-02-18 16:14:40 -08:00
Adam Barth
8111a77f73 Remove ServiceRegistry
We don't need this anymore now that we have Mozart.
2016-02-18 16:09:58 -08:00
Chinmay Garde
ab73f8c4d6 Make the buildbot generate an archive for the dynamic services SDK 2016-02-18 14:53:47 -08:00
Jason Simmons
0b8038fa1e Support loading of custom fonts
The FLX will contain a font manifest JSON file that maps font family names
to custom font assets.  Flutter will provide a FontSelector that loads
fonts on demand and caches typeface and style data.
2016-02-17 12:07:22 -08:00
Adam Barth
f7265449bf Move ganesh_canvas to sky/shell/gpu/direct/
We only use the ganesh canvas in the direct configuration. This patch moves the
class into the directory to make that clear.
2016-02-17 11:16:14 -08:00
Adam Barth
c773bcac44 Attach a stencil buffer
Skia can go faster (and crashes less) when we have a stencil buffer.

Fixes https://github.com/flutter/flutter/issues/1931
2016-02-17 11:02:03 -08:00
Adam Barth
b7d936fd35 Make iOS keyboard robust to selection of -1
The Dart code uses -1 to signal that there is no current selection. If
we get text input in this state, we need to do something reasonable.
This patch teach us to treat that case as if the selection was zero.

This patch also improves how we convert from NSString to string16 and
makes it so we don't leak keyboard subviews.

Fixes https://github.com/flutter/flutter/issues/1878
2016-02-14 15:15:29 -08:00
Adam Barth
e0c9e3a94f Add a toString to ui.Image
Fixes #1866
2016-02-13 19:41:55 -08:00
Adam Barth
9e1e1fba54 Fix Android build 2016-02-13 00:09:32 -08:00
Adam Barth
a05605d396 Remove reference to non-existent directory
This was breaking the build with gcm enabled.
2016-02-12 22:54:02 -08:00
Adam Barth
dbd158e916 Rev pub packages 2016-02-12 22:49:35 -08:00
Adam Barth
4cc46a209e Merge pull request #2397 from abarth/rm_ui_internals
Remove dart:ui_internals
2016-02-12 22:48:21 -08:00
Adam Barth
9dae74e97b Remove dart:ui_internals
This patch merges these functions into dart:ui, which is simpler.

Fixes #83
2016-02-12 22:44:20 -08:00
Matt Perry
6b12e72578 Merge pull request #2393 from mpcomplete/rm.gcm
Remove gcm package from the repository.
2016-02-13 01:31:51 -05:00
Adam Barth
b09cd543bd Add an off-by-default flag for background compilation 2016-02-12 16:01:18 -08:00
Chinmay Garde
bc1a026254 Merge pull request #2394 from chinmaygarde/master
iOS: Add a native service asset copy phase to move the service dylibs resolved by the tooling into the appropriate locations in the application bundle
2016-02-12 15:08:27 -08:00
Matt Perry
db5c72c81c Remove gcm package from the repository.
I moved it to https://github.com/mpcomplete/flutter_gcm for now.
2016-02-12 17:46:32 -05:00