6008 Commits

Author SHA1 Message Date
Adam Barth
241fc21055 Don't destory the engine when detaching from the window
Reading the Android docs, it sounds like an android.view.View can re-attach to
the window after detaching. Previously, we destroyed the engine when we
detached from the window. Now we wait for the activity to be destroyed.

Hopefully fixes #997
2016-01-04 10:39:09 -08:00
Ian Hickson
6ed78c58e0 Merge pull request #2209 from Hixie/wordSpacing
Hook up wordSpacing and per-inline lineHeight.
2015-12-30 13:08:30 -08:00
Ian Hickson
81f56588dc Implement wordSpacing and per-inline lineHeight.
Change line-height to use percentages rather than pixels.
2015-12-30 12:00:33 -08:00
Adam Barth
1958e3f8b5 Merge pull request #2208 from abarth/rm_material_build
Unhook packages/material_design_icons from the build
2015-12-29 23:27:46 -08:00
Adam Barth
2e274281b2 Unhook packages/material_design_icons from the build
We don't have any use for this symlink in the out directory anymore.
This patch lets us remove our fork of build/symlink.py.
2015-12-29 23:07:32 -08:00
Adam Barth
17282f6305 Merge pull request #2207 from abarth/rm_runtime_settings
Remove RuntimeEnabledFeatures
2015-12-29 22:43:30 -08:00
Adam Barth
b4377c93dd Remove RuntimeEnabledFeatures
This complex machinery made sense for Blink, which has hundreds of
developers. In our case, we're just moving around two bools. We can do
that in a much simpler way.
2015-12-29 22:27:18 -08:00
Adam Barth
96e66145e9 Merge pull request #2206 from abarth/rm_dead_platform_code
Remove dead code from engine/platform
2015-12-29 22:01:19 -08:00
Adam Barth
c2a5c65572 Remove dead code from engine/platform
Highlights include:
 - A Base64 encoder/decoder
 - A JSON encoder/decoder
 - A JPEG and a PNG encoder
2015-12-29 21:39:16 -08:00
Adam Barth
d56997c13b Merge pull request #2205 from abarth/rm_css
Remove the last remnants of CSS
2015-12-29 21:27:08 -08:00
Adam Barth
0633830c55 Remove the last remnants of CSS
This patch also lets us remove FontFamilyNames, which is one of two
remaining clients of jinja2.
2015-12-29 21:20:10 -08:00
Adam Barth
25d50e8023 Merge pull request #2204 from abarth/rm_idl_compiler
Remove IDL compiler
2015-12-29 20:18:24 -08:00
Adam Barth
6c5fc73d77 Remove IDL compiler
We no longer use IDL.
2015-12-29 20:12:26 -08:00
Adam Barth
6103e8d18c Merge pull request #2203 from abarth/detach_idl_compiler
Fully detach the IDL compiler from the build
2015-12-29 20:11:29 -08:00
Adam Barth
0f23213486 Fully detach the IDL compiler from the build
Prior to this patch, we were still using it to generate dart_ui.dart.
We'll eventually want to reorganize the dart files in the engine. See
https://github.com/flutter/flutter/issues/1040 for some discussion.
2015-12-29 19:52:27 -08:00
Adam Barth
ebb753aee0 Merge pull request #2202 from abarth/cleanup_bindings
Remove unused C++ code
2015-12-29 12:21:00 -08:00
Adam Barth
c5fee9d9b8 Remove unused C++ code
This code was referenced by the IDL compiler, which we no longer use.
2015-12-29 11:02:36 -08:00
Adam Barth
8fc63eb204 Merge pull request #2201 from abarth/rm_canvas_idl
Remove the remaining IDL files
2015-12-29 10:57:55 -08:00
Adam Barth
03e3948828 Remove Path.idl
This patch removes the last IDL file from the build and unhooks the bulk
of the IDL compiler from the build system. A later patch will actually
delete the IDL compiler.
2015-12-29 00:41:30 -08:00
Adam Barth
b714feca62 Remove IDL from Canvas and related interfaces
After this patch, Path is the only interface using IDL.
2015-12-29 00:21:14 -08:00
Adam Barth
c8d018234d Merge pull request #2200 from abarth/rm_shader_idl
Remove IDL from Shader subclasses
2015-12-29 00:06:26 -08:00
Adam Barth
2e693b1750 Remove IDL from Shader subclasses
- Gradient
- ImageShader
2015-12-28 23:02:22 -08:00
Adam Barth
610ab574aa Merge pull request #2199 from abarth/rm_filter_idl
Remove IDL for ColorFilter and MaskFilter
2015-12-28 22:23:49 -08:00
Adam Barth
398e0c89de Remove IDL for ColorFilter and MaskFilter 2015-12-28 22:14:04 -08:00
Adam Barth
2b0cb5e3da Merge pull request #2198 from abarth/rm_painting_idl
Remove IDL for DrawLooper-related interfaces
2015-12-28 22:13:26 -08:00
Adam Barth
3288499017 Remove IDL for DrawLooper-related interfaces 2015-12-28 21:54:40 -08:00
Adam Barth
2c8d6ac365 Merge pull request #2197 from abarth/rm_drawable
Remove Drawable interface
2015-12-28 20:53:48 -08:00
Adam Barth
cd01826488 Remove Drawable interface
We didn't end up using this interface. Instead, we use trees of
Pictures.
2015-12-28 19:50:42 -08:00
Ian Hickson
c86fb833e7 Merge pull request #2196 from Hixie/input-crash
Fix the Input crash.
2015-12-28 16:54:32 -08:00
Ian Hickson
623c951efd Fix the Input crash.
KeyboardServiceImpl's setText method was dropping the new text on
the floor instead of passing it on to the KeyboardServiceState.
Then it was passing the selection indices through, so they were
out of range, which the Android runtime doesn't like.

Fixes #964.
2015-12-28 14:50:26 -08:00
Ian Hickson
e27416e2b5 Merge pull request #2195 from Hixie/fix
Fix bustage by adding a DartConverter<unsigned long>.
2015-12-28 12:43:44 -08:00
Ian Hickson
58246595ed Fix bustage by adding a DartConverter<unsigned long>.
Also, update a comment to explain why unsigned long long is special.
2015-12-28 11:21:24 -08:00
Adam Barth
e8e1638b84 Merge pull request #2194 from abarth/no_text_idl
Remove IDL from engine/core/text
2015-12-26 13:04:10 -08:00
Adam Barth
bd3a181dac Remove IDL from engine/core/text
Instead, use our new template magic.
2015-12-25 20:31:51 -08:00
Adam Barth
f018291f3e Merge pull request #2193 from abarth/less_boilerplate
Reduce the boilerplate when creating bindings
2015-12-25 20:31:12 -08:00
Adam Barth
ca934cf956 Reduce the boilerplate when creating bindings
Instead, use C++ template to generate the callback trampolines and the
registration block.
2015-12-24 01:43:56 -08:00
Adam Barth
decb96b6aa Merge pull request #2116 from abarth/remove_idl
Remove IDL from engine/core/compositing
2015-12-24 00:19:13 -08:00
Adam Barth
e3c12b1daa Remove IDL from engine/core/compositing
Rather than using IDL code generation, we now use some template magic to
generate this code. No all the code is template-generated yet, but this
patch is a start in that direction.
2015-12-24 00:13:09 -08:00
Chinmay Garde
e466c7dbd5 Merge pull request #2191 from chinmaygarde/master
Add iOS implementations for MediaPlayer volume and looping setters
2015-12-16 15:25:45 -08:00
Chinmay Garde
514aa0a69f Add iOS implementations for MediaPlayer volume and looping setters 2015-12-16 14:59:17 -08:00
Chinmay Garde
15e4f080ac Merge pull request #2190 from chinmaygarde/master
Revert "Roll Skia"
2015-12-16 14:25:33 -08:00
Chinmay Garde
31889995c4 Revert "Roll Skia"
This reverts commit eeafe3a576d7f647b347ba9e8de6f2af6c565cca.
2015-12-16 14:18:58 -08:00
Jason Simmons
ed13305735 Merge pull request #2189 from jason-simmons/engine_release_1216
rev engine
2015-12-16 10:54:15 -08:00
Jason Simmons
07948337d9 rev engine 2015-12-16 10:53:54 -08:00
Jason Simmons
0f83cdc47d Merge pull request #2188 from jason-simmons/activity_pause_resume
Provide callbacks for activity pause and resume events
2015-12-16 10:27:03 -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
85a3a3a310 Merge pull request #2187 from jason-simmons/image_decode_jpeg
Check the image decoder's failed flag after obtaining the frame buffer
2015-12-15 12:23:59 -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