6592 Commits

Author SHA1 Message Date
Chinmay Garde
526809602b Merge pull request #2490 from chinmaygarde/master
iOS: Rename ObjC files to follow Google style guide
2016-03-10 12:28:35 -08:00
Chinmay Garde
02547a3d47 iOS: Rename ObjC files to follow Google style guide 2016-03-10 12:23:59 -08:00
Chinmay Garde
296c1c9039 Merge pull request #2484 from chinmaygarde/master
Allow PlatformMacMain to be called multiple times
2016-03-10 12:16:20 -08:00
Adam Barth
d1515e6764 Merge pull request #2488 from abarth/fix_ios
Fix iOS build
2016-03-10 08:25:01 -08:00
Adam Barth
15435a5b23 Fix iOS build
We don't have _getCreateTimerClosure, which means we need to remove it from the
dart_vm_entry_points.txt list.

Fixes https://github.com/flutter/flutter/issues/2569
2016-03-10 08:20:21 -08:00
Chinmay Garde
d1376fc93c Allow PlatformMacMain to be called multiple times
It is called each time the embedder initializes a Flutter view controller. The Mac shell (which does not have a view controller), calls it before NSApplicationMain.

Common items like the base::AtExitManager and the platform message loop are stored in `EmbedderState`
2016-03-09 17:49:17 -08:00
Chinmay Garde
2e0ae759e6 Merge pull request #2486 from chinmaygarde/symbol_visibility
Avoid leaking service runtime symbols from the Flutter embedder.
2016-03-09 17:46:18 -08:00
Yegor
f2d8d75897 Merge pull request #2487 from yjbanov/android-build-fix
[shell] fix missing header in shell.cc
2016-03-09 17:26:40 -08:00
yjbanov
7e2a05427b [shell] fix missing header in shell.cc 2016-03-09 17:26:10 -08:00
Chinmay Garde
212471352c Avoid leaking service runtime symbols from the Flutter embedder.
Also gets rid of an defunct target in `dynamic/BUILD.gn`
2016-03-09 17:19:44 -08:00
Yegor
445fa59f88 Merge pull request #2485 from yjbanov/remove-message-loop
[tracing] refactor TracingController
2016-03-09 17:02:54 -08:00
yjbanov
288dfae36f [tracing] refactor TracingController
- remove the unnecessary MessageLoop
- split stopping the trace from downloading it
- support waiting for the trace file to be finalized
- fix the missing null-termination in the trace data string
2016-03-09 16:45:47 -08:00
Chinmay Garde
6c4c0a182b Merge pull request #2481 from chinmaygarde/master
If a custom ICU data file path is specified, attempt loading from that instead of loading from the default path.
2016-03-09 15:46:04 -08:00
Jason Simmons
45d2807c23 Merge pull request #2483 from jason-simmons/snapshot_absolute_path
Handle both absolute and relative paths when generating sky_snapshot …
2016-03-09 15:24:25 -08:00
Jason Simmons
eae9ad2dfc Handle both absolute and relative paths when generating sky_snapshot dependencies 2016-03-09 15:19:17 -08:00
Ian Hickson
8c83cab8f2 Merge pull request #2482 from Hixie/Picture.playback
Remove Picture.playback, and other clarifications
2016-03-09 14:59:52 -08:00
Hixie
87f38fa63d Remove Picture.playback, and other clarifications 2016-03-09 13:54:02 -08:00
Chinmay Garde
274f98ef0d If a custom ICU data file path is specified, attempt loading from that instead of loading from the default path. 2016-03-09 11:27:52 -08:00
Adam Barth
b362896236 Merge pull request #2480 from abarth/keyboard_state
Keyboard can get out of sync with flutter
2016-03-09 10:34:47 -08:00
Adam Barth
77e7311ced Keyboard can get out of sync with flutter
We need to tell the InputMethodManager to restartInput whenever we change our
editing state or else it might persist state from earlier in the editing
session.

Fixes https://github.com/flutter/flutter/issues/2431
2016-03-09 09:24:23 -08:00
Chinmay Garde
a39e8a2f19 Merge pull request #2479 from chinmaygarde/master
Allow PlatformMacMain to be called mutliple times by third party flutter embedders
2016-03-09 09:01:46 -08:00
Alhaad Gokhale
98f53e1e5a Merge pull request #2478 from alhaad/depfile_support
Depfile support for sky_snaphot.
2016-03-08 22:08:51 -08:00
Alhaad Gokhale
424a131019 sky_snapshot should use --snaphsot as the defualt value for
--build-output.
Also, dependency collection should be done by Loader.
2016-03-08 21:56:44 -08:00
Chinmay Garde
a6464d0298 Allow PlatformMacMain to be called mutliple times by third party flutter embedders
If we control the embedder, we call it just once and have it wrap UIApplicationMain.
2016-03-08 17:12:18 -08:00
Chinmay Garde
69e2fc745a Merge pull request #2477 from chinmaygarde/master
Prepare a framework providing an embeddable Flutter view controller
2016-03-08 16:45:52 -08:00
Alhaad Gokhale
aac4962fd2 Depfile support for sky_snaphot.
Ref #1942
2016-03-08 16:43:49 -08:00
Chinmay Garde
a021befd19 Prepare a framework providing an embeddable Flutter view controller 2016-03-08 16:42:07 -08:00
Ian Hickson
8514a14911 Merge pull request #2474 from Hixie/AppLifecycleState-docs
Hide implementation comment we leaked into docs
2016-03-08 15:16:09 -08:00
Ian Hickson
7094a3e43e Merge pull request #2476 from Hixie/Scene-docs
Fix ImageShader crash, and add dartdocs
2016-03-08 15:16:04 -08:00
Hixie
da4f9c54f7 Fix ImageShader crash, and add dartdocs
Adds or augments the documentation of various objects in dart:ui.

Removes the ignored argument to SceneBuilder.

Hide the default constructor on Gradient.

Add a call to the ImageShader constructor.

Reorder some members so that private versions come after public versions
so that docs will come before both.
2016-03-08 14:47:00 -08:00
Chinmay Garde
25fb441345 Merge pull request #2475 from chinmaygarde/master
iOS: Export symbols for public API from the framework dylib
2016-03-08 13:50:35 -08:00
Chinmay Garde
9dfa087e92 iOS: Export symbols for public API from the framework dylib 2016-03-08 12:34:24 -08:00
Hixie
7709e78311 Hide implementation comment we leaked into docs
Also, add some dartdocs for AppLifecycleState values.
2016-03-08 12:15:15 -08:00
Chinmay Garde
023f0b91fd Merge pull request #2471 from chinmaygarde/master
iOS: Cleanup and move guts of the embedder into FlutterViewController.
2016-03-08 11:56:31 -08:00
Chinmay Garde
8ec0463dc5 iOS: Cleanup and move guts of the embedder into FlutterViewController.
* Remove engine code from SkySurface into the controller.
* The public API exposed by Flutter.framework for third-party embedders is present ios/public.
* Public view controller API uses idiomatic Objective-C and is subclassable by consumers.
* Paves way for moving the embedder into a framework.
2016-03-07 17:23:45 -08:00
Chinmay Garde
0d311fd325 Merge pull request #2473 from chinmaygarde/cond_direc
Conditional directives are a snapshotter option. Remove the same from the embedder VM and add the flag to the precomp snapshotter.
2016-03-07 17:23:15 -08:00
Chinmay Garde
446984ec33 Conditional directives are a snapshotter option. Remove the same from the embedder VM and add the flag to the precomp snapshotter. 2016-03-07 17:17:02 -08:00
Chinmay Garde
54ed6d63aa Merge pull request #2472 from chinmaygarde/fix_ios
iOS: Only add the kDartConditionalDirectivesArgs flags when not using precompilation
2016-03-07 16:57:01 -08:00
Chinmay Garde
9b2e93a06b iOS: Only add the kDartConditionalDirectivesArgs flags when not using precompilation 2016-03-07 16:53:32 -08:00
Todd Volkert
565a827c8b Merge pull request #2469 from tvolkert/i18n
Wire up locale notifications to ios.
2016-03-07 15:32:40 -08:00
Todd Volkert
6a1ad20ce9 Wire up locale notifications to ios.
Fixes #2282
2016-03-07 14:37:10 -08:00
Devon Carew
90fb01c29a Merge pull request #2467 from devoncarew/update_embedder
update the embedder file
2016-03-07 14:19:11 -08:00
Devon Carew
fbfeae1103 update the embedder file 2016-03-07 14:09:36 -08:00
Jason Simmons
58adea7f33 Merge pull request #2466 from jason-simmons/scene_builder_ctor
Update the expected argument count in the SceneBuilder constructor
2016-03-07 12:46:58 -08:00
Collin Jackson
d167f5b83f Merge pull request #2464 from collinjackson/enable_conditional_directives
Enable conditional directives
2016-03-07 12:05:27 -08:00
Jason Simmons
a5b42995fd Merge pull request #2463 from jason-simmons/font_weight_match
Match fonts based on weight and style attributes
2016-03-07 10:57:12 -08:00
Jason Simmons
1e4c46aade Update the expected argument count in the SceneBuilder constructor 2016-03-07 10:52:16 -08:00
Adam Barth
f27d044e7c Fix typo 2016-03-06 22:48:40 -08:00
Adam Barth
b14ef84a74 Merge pull request #2465 from abarth/ui_docs
Add more dartdoc to dart:ui
2016-03-06 20:40:01 -08:00
Adam Barth
ad3fa9f472 Add more dartdoc to dart:ui 2016-03-06 20:37:25 -08:00