20087 Commits

Author SHA1 Message Date
Adam Barth
f75851cb73 Merge pull request #2527 from abarth/services_cleanup
Cleanup MojoServices in dart:ui
2016-03-18 10:55:35 -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
e2f177ff13 Merge pull request #2526 from abarth/mozart_url
Flutter apps in Mozart should have reasonable Uri.base
2016-03-18 10:04:20 -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
0616669659 Update Dart dependency 2016-03-17 17:51:02 -07:00
Ian Hickson
138fae117a Merge pull request #2520 from Hixie/addPerformanceOverlay-docs
Performance Overlay fixes
2016-03-17 17:21:26 -07:00
Ian Hickson
73b43d254d Merge pull request #2521 from flutter/Hixie-patch-1
Mention android:debuggable in CONTRIBUTING.md
2016-03-17 17:20:58 -07:00
Adam Barth
5a3890153d Merge pull request #2523 from abarth/rm_paragraph_paint
Remove Paragraph#paint
2016-03-17 17:20:40 -07:00
Adam Barth
2838055627 Remove Paragraph#paint
We now use Canvas#drawParagraph.
2016-03-17 17:20:26 -07:00
Hixie
389bc4b456 Performance Overlay fixes
- fix dartdocs for addPerformanceOverlay
- make PerformanceOverlayLayer honour its x, y, and height.
- fix the y axis of PerformanceOverlayLayer to only show 3x16ms, since
  if it's more than 16ms it really doesn't matter what it is.
- make the label on the PerformanceOverlayLayer show the worst time on
  record not the instantaneous time.
- pin the fps to a maximum of 60Hz
2016-03-17 17:14:04 -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
Ian Hickson
7a2c8daa8f Mention android:debuggable in CONTRIBUTING.md 2016-03-17 13:54:14 -07:00
Adam Barth
f25adf40a5 Merge pull request #2519 from abarth/draw_paragraph
Add Canvas#drawParagraph
2016-03-17 12:52:53 -07:00
Adam Barth
1e55e997de Add Canvas#drawParagraph
Fixes #2694
2016-03-17 12:38:09 -07:00
Roozbeh Pournader
1d1e62851a Do not allow line breaks before currency symbols am: d8917c6
am: 4293c2a

* commit '4293c2a94ea73f585fd6d3389837167044a1e630':
  Do not allow line breaks before currency symbols
2016-03-17 19:29:04 +00:00
Chinmay Garde
8c9f556716 Merge pull request #2518 from chinmaygarde/master
Fix Android builds. Accessing traces is now possible from observatory.
2016-03-17 12:01: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
Roozbeh Pournader
4293c2a94e Do not allow line breaks before currency symbols
am: d8917c6

* commit 'd8917c69a9f7b7ca52f7ac850922dab4322113f5':
  Do not allow line breaks before currency symbols
2016-03-17 18:16:22 +00:00
Ian Hickson
0b4e8affd9 Merge pull request #2517 from Hixie/addPerformanceOverlay-docs
Flesh out docs for addPerformanceOverlay
2016-03-17 11:14:15 -07:00
Hixie
c650a0ba9b Flesh out docs for addPerformanceOverlay 2016-03-17 11:05:22 -07:00
Devon Carew
a38def0c79 Merge pull request #2514 from devoncarew/devoncarew-patch-1
Update PackagerInvoke
2016-03-17 08:14:05 -07:00
Devon Carew
792a6a7443 Update PackagerInvoke 2016-03-16 21:51:55 -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
Roozbeh Pournader
d8917c69a9 Do not allow line breaks before currency symbols
Implement the change proposed in UTC document L2/16-043R
(http://www.unicode.org/L2/L2016/16043r-line-break-pr-po.txt) to make
sure we do not break between letters and currency symbols.

Bug: 24959657
Change-Id: Ia29d0e5625f84870bd910d0c6e19036d17206704
2016-03-16 16:21:09 -07:00
Chinmay Garde
09972ad11c Wire up the TracingController to the the Dart embedder timeline API 2016-03-16 16:08:47 -07:00
Ian Hickson
4681428475 Merge pull request #2513 from Hixie/Path-docs
Path dartdocs
2016-03-16 12:43:42 -07:00
Ian Hickson
57f87bdc82 Merge pull request #2510 from Hixie/PaintingStyle-docs
Some Paint dartdocs (and style tweaks)
2016-03-16 12:16:12 -07:00
Hixie
610916bb51 Some Paint dartdocs (and style tweaks) 2016-03-16 11:23:02 -07:00
Jason Simmons
bf45869dbf Merge pull request #2512 from jason-simmons/embed_sky_application
Move SkyApplication initialization into SkyMain
2016-03-16 11:14:15 -07:00
Hixie
59597a1550 Path dartdocs 2016-03-16 11:09:09 -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
Ian Hickson
3a48f5b18a Merge pull request #2509 from Hixie/paragraph-docs
Improve Paragraph dartdocs
2016-03-15 17:36:11 -07:00
Adam Barth
e9f1dab023 Merge pull request #2511 from abarth/init_size
Mozart embedding can see crazy width/height
2016-03-15 16:55:27 -07:00
Adam Barth
10294a70fb Mozart embedding can see crazy width/height
We should initialize the width and height of the display to something
reasonable.
2016-03-15 16:46:43 -07:00
Adam Barth
2a3cd84010 Import GLFW into //third_party/glfw
This patch includes GLFW 3.1.2.
2016-03-15 14:46:46 -07:00
Hixie
0d3bac9af8 Improve Paragraph dartdocs 2016-03-15 14:41:07 -07:00
Adam Barth
5e68565d71 Merge pull request #2507 from abarth/less_core
Don't dump core on startup exceptions
2016-03-15 14:30:11 -07:00
Adam Barth
693935c169 Don't dump core on startup exceptions
Instead, log the exception to the console and exit with an error code.

Fixes #2362
2016-03-15 14:06:20 -07:00
Adam Barth
07d65b7811 Merge pull request #2506 from abarth/mozart_zero
Handle 0x0 sizes in Mozart
2016-03-15 13:55:24 -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
a7e7647dc3 Merge pull request #2505 from jason-simmons/embed_engine_api
Make the engine private to the Sky package and expose the relevant pu…
2016-03-15 10:08:53 -07:00
Eric Seidel
51c923e198 Merge pull request #2504 from flutter/flutter_not_webkit
Update ASSERTs in flutter engine to use flutter
2016-03-14 16:58:39 -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
Eric Seidel
76a090d00a Update ASSERTS in flutter engine to use flutter
Fixes https://github.com/flutter/flutter/issues/2692

@Hixie
2016-03-14 16:23:19 -07:00
Jason Simmons
c5a86a244a Merge pull request #2497 from jason-simmons/gradle_public_api
Expose some public APIs for use by Flutter embedders outside the sky …
2016-03-14 11:03:48 -07:00
Chinmay Garde
46c9d83693 Merge pull request #2501 from chinmaygarde/master
Update Dart dependency to pick up updates to timeline API
2016-03-14 08:23:49 -07:00
Chinmay Garde
1d08205b4f Update Dart dependency to pick up updates to timeline API 2016-03-14 07:25:27 -07:00