2257 Commits

Author SHA1 Message Date
Jason Simmons
07948337d9 rev engine 2015-12-16 10:53:54 -08:00
Jason Simmons
e55cf62694 Provide callbacks for activity pause and resume events 2015-12-15 18:01:36 -08:00
Jason Simmons
0cca3dd352 Merge pull request #2186 from jason-simmons/sound_track_volume
Add MediaPlayer methods for volume and looping
2015-12-15 12:24:04 -08:00
Jason Simmons
8883ada7d6 Check the image decoder's failed flag after obtaining the frame buffer
Some decoders (e.g. JPEG) do not execute the decode until the call to
frameBufferAtIndex.  If the decode fails, we should not try to return a
bitmap.
2015-12-15 11:15:00 -08:00
Jason Simmons
04ff30d78b Add MediaPlayer methods for volume and looping 2015-12-15 10:48:00 -08:00
Jason Simmons
50df877592 rev engine 2015-12-14 16:58:03 -08:00
Jason Simmons
784fe3dd0b Revert to libjpeg_turbo
We had switched to libjpeg, but libjpeg was failing to decode images when
built with the defines in our .gn files
2015-12-14 16:48:49 -08:00
Jason Simmons
663cc31668 rev engine 2015-12-14 10:44:44 -08:00
Jason Simmons
d9b4f66dd1 In SoundPool, have the client provide stream IDs so future API calls aren't gated on completion of Play()
Also use an array to represent channel volumes instead of assuming two channels
2015-12-14 10:37:14 -08:00
Hixie
2e2423e8e5 rev engine 2015-12-11 17:51:04 -08:00
Chinmay Garde
cd9be85af7 Merge pull request #2175 from chinmaygarde/master
Switch snapshotter and application runner based on Xcode target
2015-12-11 15:17:41 -08:00
Adam Barth
eeafe3a576 Roll Skia 2015-12-11 13:52:58 -08:00
Chinmay Garde
4e8a9304a7 Switch snapshotter and application runner based on the Xcode target 2015-12-11 13:47:39 -08:00
Chinmay Garde
9ecd7d38cd Remove references to files in the generated directory as those are no longer added directly in an Xcode build phase 2015-12-11 13:47:39 -08:00
Chinmay Garde
34cfa1ad57 Put target specific files in their own directory and update Xcode referneces 2015-12-11 13:47:39 -08:00
Chinmay Garde
42deccf6a7 Merge pull request #2172 from chinmaygarde/master
Fix iOS builds after updates to media.mojom
2015-12-11 11:51:03 -08:00
Adam Barth
87fc1b81f2 Remove re2
We don't use this anymore.
2015-12-11 11:24:14 -08:00
Adam Barth
9c3aac7c2f Remove //url
We don't use this anymore.
2015-12-11 11:20:23 -08:00
Chinmay Garde
08e33cd671 Fix iOS builds after updates to media.mojom 2015-12-11 11:11:24 -08:00
Adam Barth
18dccb4cbb Remove libxml and modp_b64
These were used only for base's test framework, which we don't need.
2015-12-11 11:06:06 -08:00
Adam Barth
a14d4ed590 Remove OpenTypeSantizer and brotli
We don't need OpenTypeSantizer or brotli because we don't support loading fonts
over the network. Instead, fonts will need to be packaged inside the Flutter
asset bundle.
2015-12-11 10:32:40 -08:00
Adam Barth
fb374a9f5a Remove unused code
We don't use yasm, libjpeg_turbo, or mojo's devtools.
2015-12-11 10:18:50 -08:00
Jason Simmons
86e9b92679 Merge pull request #2168 from jason-simmons/roll_mojo_1210
Update to mojo b7c8cb12f05d3bc1351e65a4f9a84c5d1bcd1704
2015-12-11 09:43:46 -08:00
Jason Simmons
4a8402f7a1 Update to mojo b7c8cb12f05d3bc1351e65a4f9a84c5d1bcd1704 2015-12-10 16:21:45 -08:00
Chinmay Garde
d6b50a6ef3 Xcode project updates for switching to script snapshotting on iOS simulator 2015-12-10 16:05:52 -08:00
Chinmay Garde
8fe436ec11 Sidestep precompilation snapshot creation iOS simulator in Xcode 2015-12-10 16:05:52 -08:00
Chinmay Garde
59c74ab9d0 Pass the path to the script snapshotter to flutter build but only use precompilation on non x86_64 targets 2015-12-10 16:05:52 -08:00
Chinmay Garde
449176fb73 Generate and place the script snapshotter in the SDK directory for iOS simulator 2015-12-10 16:05:52 -08:00
Chinmay Garde
4aa37e086a Load the application from the flx bundle on iOS simulator 2015-12-10 16:05:52 -08:00
Chinmay Garde
8bc5a87887 Explicitly depend on snapshot_cc on iOS simulator variants 2015-12-10 16:05:51 -08:00
Hixie
33a1848129 Make defaultRouteName immutable.
And trivial docs changes.
2015-12-10 10:21:00 -08:00
Ian Hickson
6b99c214b2 Provide an API for hashCode getters. 2015-12-09 22:34:56 -08:00
Ian Hickson
954c3062ea Remove old 'back' callback, and add dartdocs.
This adds some dartdocs to dart:ui, specifically for Window and friends.
2015-12-09 22:27:52 -08:00
Adam Barth
5c80bf02c9 Rev pub packages 2015-12-09 14:12:48 -08:00
Jason Simmons
23eaba7dcf Merge pull request #2162 from jason-simmons/sound_pool
Mojo wrapper for the Android SoundPool API
2015-12-09 14:12:31 -08:00
Adam Barth
88758d8650 Improve FontWeigh and TextDecoration
Instead of using enums, these are now real classes, which lets us add `bold`
and `normal` alias to FontWeight and a `combine` constructor to TextDecoration.
2015-12-09 14:06:52 -08:00
Jason Simmons
2f711bcee3 Mojo wrapper for the Android SoundPool API 2015-12-09 13:57:01 -08:00
Chinmay Garde
8638005427 Update Dart dependency to include fixes in x64 Dart precompilation 2015-12-09 13:23:03 -08:00
Chinmay Garde
87f766a94d Require the user to specify the DART_SDK_PATH manually in Xcode 2015-12-09 11:55:52 -08:00
Hixie
9236be1360 Fix mouse on linux. 2015-12-09 10:16:23 -08:00
Adam Barth
198094e427 Fix crash with empty rect
Don't attempt to draw with a zero-by-zero window.
2015-12-08 14:46:35 -08:00
Hixie
d0aa83cc03 Revving engine 2015-12-08 13:13:18 -08:00
Hixie
07aa429175 Fix pointers in mojo.
Make the mojo implementation of the pointer packet logic fake move
events when it would send ups or downs without corresponding moves.
2015-12-08 13:07:31 -08:00
Matt Perry
4b6b031130 Merge pull request #2152 from mpcomplete/updater.on
Turn on FLX updater.
2015-12-08 16:06:42 -05:00
Adam Barth
535afcb092 Improve the crash fix in rasterizer_mojo
The previous version can still crash if we try to draw between the time when we
initialize context_ and when we actually make the MGL context current.
2015-12-08 12:51:50 -08:00
Matt Perry
6a2f58091f Turn on FLX updater. 2015-12-08 14:41:32 -05:00
Adam Barth
535eb30855 Don't crash when RasterizerMojo::Draw happens without a context
If we don't have a context, we can't draw, so bail out early.
2015-12-08 11:32:30 -08:00
Jason Simmons
8b7445142a Rev pub packages 2015-12-07 16:03:25 -08:00
Jason Simmons
4effc3e961 Merge pull request #2149 from jason-simmons/platform_locale
Tell Flutter about the host platform's locale
2015-12-07 16:01:01 -08:00
Jason Simmons
98427a2763 Tell Flutter about the host platform's locale 2015-12-07 14:27:22 -08:00