4296 Commits

Author SHA1 Message Date
Adam Barth
d2a5a97fd5 Merge pull request #1233 from abarth/rm_markdown
Lift docs from Markdown to dartdoc
2015-09-18 10:52:17 -07:00
Adam Barth
11dea8921a Lift docs from Markdown to dartdoc
I've also removed the top-level description of the Sky package. Instead, we
should host that content on flutter.io.
2015-09-18 10:50:45 -07:00
Adam Barth
90868767fc Update README.md 2015-09-18 10:27:04 -07:00
Ian Hickson
118af110cc Merge pull request #1232 from Hixie/more-debugging
Provide hooks for when exceptions are thrown.
2015-09-18 10:25:07 -07:00
Hixie
cbb6e05523 Provide hooks for when exceptions are thrown.
This might be helpful for #1219.

Also, remove inDebugMode since it's redundant with just using asserts,
which compile entirely out in release mode.
2015-09-18 10:23:58 -07:00
Adam Barth
4c5e81c4e4 Merge pull request #1231 from abarth/material_lib
Move theme into material.dart
2015-09-18 09:58:52 -07:00
Adam Barth
9cef3e61e9 Move theme into material.dart
Also, introduce Colors and Typography to hold the material colors and the
typography declarations. Previously we expected clients of these libraries to
import them into a namespace, but that doesn't play nice with re-exporting them
from material.dart.
2015-09-18 09:57:21 -07:00
Ian Hickson
0d3b7a8ab9 Merge pull request #1228 from Hixie/set_state_bug
Handle the case of a Widget being moved down
2015-09-17 17:26:38 -07:00
Hixie
6ef9d188e8 Handle the case of a Widget being moved down
When we sync() a Component, we need to clear the old Component's _child
pointer, otherwise if we reuse that Component we'll get confused about
what the old child is.
2015-09-17 17:23:20 -07:00
Adam Barth
32cb06fb34 Add missing file 2015-09-17 16:28:40 -07:00
Ian Hickson
881e597e99 Merge pull request #1218 from Hixie/toString
Improve debugging aids for widgets, rendering.
2015-09-17 16:27:02 -07:00
Ian Fischer
5b57b870cd Merge pull request #1225 from iansf/add_sky_tool_stop_server
Kill sky_server correctly on Mac
2015-09-17 16:07:47 -07:00
Ian Fischer
885474650b Kill the sky_server on Mac in a way that works to avoid unexpected behavior when working with more than one app at once. 2015-09-17 16:03:29 -07:00
Adam Barth
e650fd58da Merge pull request #1222 from abarth/rm_skyx
Remove the skyx package
2015-09-17 16:00:39 -07:00
Adam Barth
2fceed4672 Remove the skyx package
This code is now part of sky_tools.
2015-09-17 16:00:28 -07:00
Hixie
8d2851a931 Improve debugging aids for widgets, rendering.
We need a short name more often than a tree dump, so toString() should
be the short name.

Make debugDumpRenderTree() a global like debugDumpApp(), for
consistency. It's hard to remember the
SkyBinding.instance.dumpRenderTree() incantation.

Fixes #1179.
2015-09-17 13:59:46 -07:00
Viktor Lidholt
368ce389ec Merge pull request #1216 from vlidholt/master
Adds TexturedLine and animated EffectLine to sprites
2015-09-17 13:58:49 -07:00
Ian Hickson
8a2aa39733 Merge pull request #1217 from Hixie/duplicate_key
Fix removal logic in widgets
2015-09-17 13:36:28 -07:00
Hixie
bb0a7f2b64 Fix removal logic in widgets
We were not removing children if they were more recently synced than we
were. This makes no sense. We should remove all children unless they
were synced this very generation already (in which case they'll be
somewhere else in the tree by now).
2015-09-17 13:30:27 -07:00
Viktor Lidholt
263d06c533 Adds TexturedLine and animated EffectLine to sprites 2015-09-17 13:27:43 -07:00
Adam Barth
7cf79827ce Merge pull request #1213 from abarth/fix_text_rendering
Fix text rendering
2015-09-17 12:22:19 -07:00
Adam Barth
dcaef43b97 Fix text rendering
Now that RenderView doesn't look at FrameView for its size, we need to set the
size on the RenderView directly.
2015-09-17 11:28:43 -07:00
Adam Barth
7cd299cfa6 Merge pull request #1212 from abarth/rm_oblique
Remove reference to oblique
2015-09-17 11:25:22 -07:00
Adam Barth
d9d3c2b06f Remove reference to oblique
We removed this value from the engine because it's not useful.
2015-09-17 11:19:24 -07:00
Adam Barth
55960a1adb Merge pull request #1208 from abarth/paragraph_builder
Teach sky.Paragraph how to actually compute layout
2015-09-17 09:38:33 -07:00
Adam Barth
77264d3e94 Teach sky.Paragraph how to actually compute layout
Previously layout was exiting early because the frame view
was null. Now we actually compute some layout and paint the
text. This patch makes paragraph_builder_test pass.
2015-09-17 09:37:30 -07:00
Adam Barth
743b3d3601 Merge pull request #1207 from abarth/mac_local
Teach SkyShell.app to run local files
2015-09-17 09:20:56 -07:00
Adam Barth
6b6f81e30a Teach SkyShell.app to run local files
Previously we defaulted to loading from URLs, but its
more common to want to load files off the local machine
on the command line.
2015-09-17 09:07:07 -07:00
Adam Barth
7e9abfa288 Merge pull request #1205 from abarth/services_lib
Move mojo frontend into services.dart
2015-09-16 22:46:49 -07:00
Adam Barth
0cc094288e Move mojo frontend into services.dart
What's important about this code is that it's presenting services outside the
VM, not the particular technology used to present the services.
2015-09-16 19:13:50 -07:00
Adam Barth
62b507cce8 Merge pull request #1204 from abarth/gestures_dart
Create gestures.dart
2015-09-16 18:45:21 -07:00
Adam Barth
9251203829 Create gestures.dart
This patch is part of a sequence of patches towards fewer top-level libraries.
In this patch, the gesture libraries are combined into one gestures.dart
library.
2015-09-16 18:25:00 -07:00
Collin Jackson
ceb7999d7e Merge remote-tracking branch 'origin/master' into pinch
Conflicts:
	examples/widgets/scale.dart
2015-09-16 17:58:38 -07:00
Collin Jackson
70884c950a Merge pull request #1181 from collinjackson/pinch
First pass at support for pinch gestures; panning issues (needs testing)
2015-09-16 17:57:42 -07:00
Collin Jackson
aa6251a276 Update scale API and add example 2015-09-16 17:20:23 -07:00
Collin Jackson
365d2f4cb3 Update documentation for running tests on Mac 2015-09-16 17:20:23 -07:00
Collin Jackson
256b33562e First pass at support for pinch gestures; panning issues (needs testing)
Conflicts:
	sky/packages/sky/lib/gestures/drag.dart
2015-09-16 17:20:23 -07:00
Adam Barth
9b05a68ca0 Rev pub packages 2015-09-16 17:13:38 -07:00
Adam Barth
21c73de8f5 Rev pub packages 2015-09-16 17:11:26 -07:00
Adam Barth
4e2bf8c458 Merge pull request #1203 from abarth/rm_gesture_provider
Remove platform gesture detectors
2015-09-16 17:01:26 -07:00
Adam Barth
b02963a1f6 Remove platform gesture detectors 2015-09-16 16:56:55 -07:00
Adam Barth
4dcd995d30 Update sky_tools 2015-09-16 16:49:27 -07:00
Adam Barth
5609653ad8 Merge pull request #1202 from abarth/crash_on_failure
Crash when we can't run main()
2015-09-16 16:44:28 -07:00
Adam Barth
9a2411eeac Crash when we can't run main()
Also, in testing, crash when we can't load a library off disk.
2015-09-16 16:42:37 -07:00
Collin Jackson
ce7c2487c9 Update scale API and add example 2015-09-16 16:21:33 -07:00
Ian Hickson
240f3439a0 Merge pull request #1200 from Hixie/framework
Improve debugging aids in framework.dart
2015-09-16 16:15:01 -07:00
Hixie
595857045c Improve debugging aids in framework.dart 2015-09-16 16:08:05 -07:00
Collin Jackson
8bb14918ef First pass at support for pinch gestures; panning issues (needs testing)
Conflicts:
	sky/packages/sky/lib/gestures/drag.dart
2015-09-16 15:01:38 -07:00
Adam Barth
7e18c717c7 Remove extra return 2015-09-16 14:28:44 -07:00
Ian Hickson
b3b70a2739 Merge pull request #1197 from Hixie/mimic
Factor out GlobalKeyWatcher
2015-09-16 14:27:44 -07:00