415 Commits

Author SHA1 Message Date
Adam Barth
fb8c19b7f8 Update README.md 2015-08-01 10:29:06 -07:00
Adam Barth
ee431ae832 Merge pull request #421 from abarth/rounded_border
Support borders with borderRadius
2015-07-31 16:03:55 -07:00
Matt Perry
0cac70980f Add transitions.dart for common animation transitions.
Use those in SnackBar, Drawer, navigator instead of AnimatedContainer's
intentions.
2015-07-31 19:03:11 -04:00
Adam Barth
5f95865831 Support borders with borderRadius
Currently we support only borders with uniform color and width.
2015-07-31 16:03:09 -07:00
Adam Barth
e719855b60 Merge pull request #420 from abarth/fix_readme_links
Use absolute URLs in sky/packages/sky/README.md
2015-07-31 13:49:54 -07:00
Adam Barth
ab146ec0f8 Use absolute URLs in sky/packages/sky/README.md
When this README.md is published to pub.dartlang.org, the base URL is
pub.dartlang.org. We need to use absolute URLs in order to get back to GitHub.

Fixes #417
2015-07-31 13:33:04 -07:00
Adam Barth
eae66eb03e Merge pull request #419 from abarth/fix_align_right
Fix TextAlign.right
2015-07-31 13:05:27 -07:00
Adam Barth
75c7e617e5 Fix TextAlign.right
We were applying the style to the RenderInline but we actually needed to apply
it to the RenderParagraph. The lineHeight property had the same problem.
2015-07-31 12:57:53 -07:00
John McCutchan
1263fff9ea Make sky package depend on new sky_engine and sky_services 2015-07-31 11:05:30 -07:00
John McCutchan
e95a0b2d89 Don't upload things again in stage two 2015-07-31 10:49:46 -07:00
John McCutchan
8ded610b49 Bump versions of sky packages 2015-07-31 10:46:14 -07:00
John McCutchan
414da6628e Continue to upload binaries as part of stage 1 2015-07-31 10:43:52 -07:00
John McCutchan
82fca35f7e whitespace 2015-07-31 10:42:16 -07:00
John McCutchan
9432cb2b64 Add a --stage-two to big_red_button.py 2015-07-31 10:41:24 -07:00
Adam Barth
184fc63f25 Merge pull request #409 from abarth/stack_repaint
Stacked does not repaint when its position changes
2015-07-31 10:21:08 -07:00
John McCutchan
46ca1798c9 Do not invoke mojom/generate.dart from sky_tool anymore 2015-07-31 10:13:48 -07:00
John McCutchan
e7be12c20c Bump sky package version requirements 2015-07-31 10:07:28 -07:00
Adam Barth
77bc162f7d Stacked does not repaint when its position changes
We were marking the parent *Widget's* render object as needing layout, but
we actually need to walk up the component tree until we find the parent
*RenderObjectWrapper* so we can mark actually mark the parent render object as
needing layout.

Fixes #408
2015-07-31 10:06:44 -07:00
Eric Seidel
b672f6bc5b Make it possible to pass a URL via command line to Mac SkyShell.app
@chinmaygarde
2015-07-30 17:26:53 -07:00
Adam Barth
0f5799c62d Merge pull request #401 from abarth/enable_checked_mode
Add --enable-checked-mode to sky_shell
2015-07-30 16:21:58 -07:00
Matt Perry
fddffb6634 Simplify Navigator's Transition code a bit. 2015-07-30 19:14:43 -04:00
Viktor Lidholt
786abcc10b Merge pull request #402 from vlidholt/master
Fixes anchor points for particles in particle systems
2015-07-30 16:10:50 -07:00
Viktor Lidholt
a27edc402c Fixes anchor points for particles in particle systems 2015-07-30 16:04:57 -07:00
Adam Barth
2612c841ef Add --enable-checked-mode to sky_shell
We need a way for developers to use release builds in checked mode.

Progress on #400
2015-07-30 16:01:05 -07:00
Chinmay Garde
3e7ab3a338 Fix loading SkyX files on Mac 2015-07-30 15:33:13 -07:00
Chinmay Garde
9b16addf3a Allow loading SkyX files on Mac desktop 2015-07-30 15:07:35 -07:00
James Robinson
2048316073 Merge pull request #376 from jamesr/render_switch
Make Switch a standalone class with a custom RenderObject
2015-07-30 15:00:13 -07:00
John McCutchan
6f09576130 Lower sky package requirements 2015-07-30 14:57:52 -07:00
James Robinson
ab55a2ede6 Make Switch a standalone class with a custom RenderObject
This changes Switch from being a subclass of the Toggleable widget to
being a standalone Component with a custom RenderObject. This is to
enable adding Switch-specific radial reaction animations in a
subsequent patch. The CustomPaint logic that Toggleable was using does
not provide a nice way for a class and its subclass to both participate
in deciding to repaint.
2015-07-30 14:53:28 -07:00
Adam Barth
12c2638334 Merge pull request #394 from abarth/merge_scrollable
Combine all the scrollable classes into scrollable.dart
2015-07-30 14:51:25 -07:00
Adam Barth
ed7f08c3f3 Rebaseline test
The new output seems correct.
2015-07-30 14:47:12 -07:00
Adam Barth
15bdb584b4 Combine all the scrollable classes into scrollable.dart
We ended up with a bunch of different scrollable widgets and it was confusing.
This CL moves them all into one library to make them easier to find.
2015-07-30 14:44:14 -07:00
John McCutchan
72a6827f38 Merge pull request #391 from johnmccutchan/bump_versions
Bump versions
2015-07-30 14:29:48 -07:00
John McCutchan
7b697ac70f Bump versions 2015-07-30 14:29:03 -07:00
Eric Seidel
4ae525026b Merge pull request #390 from abarth/fix_analyzer
Fix Dart analyzer warnings
2015-07-30 14:28:57 -07:00
Adam Barth
38f94590cb Fix Dart analyzer warnings 2015-07-30 14:26:53 -07:00
Eric Seidel
6dc6cc2354 Merge pull request #389 from eseidelGoogle/ios_fonts
Make fonts not awful on iOS
2015-07-30 14:23:41 -07:00
John McCutchan
596e6053bd Bump sky_services to v0.0.3 2015-07-30 14:19:10 -07:00
John McCutchan
c935a663a9 Fix imports 2015-07-30 14:19:10 -07:00
John McCutchan
c5a793352e Use built sky_services in workbench 2015-07-30 14:19:10 -07:00
John McCutchan
95aace8b70 Neuter sky:init 2015-07-30 14:19:09 -07:00
John McCutchan
44c883a340 Add DartPackage annotation 2015-07-30 14:19:09 -07:00
John McCutchan
f5bb1bf86b Update mojo and mojo_services dependencies 2015-07-30 14:19:09 -07:00
Eric Seidel
135ce7319f Make fonts not awful on iOS
This code was written from scratch for Sky by copying what
linux did, however that doesn't match with the expectations
of the surrounding code.  Instead here I just copied what Blink
was doing around this time by looking at:
https://blink.lc/blink/tree/Source/platform/fonts/mac/FontPlatformDataMac.mm?id=f0ab9794a9d1240ce5a57e510fdb82dbc8337906

Blink has since diverged from this codepath, but this at least
makes our FontPlatformData match how the rest of the mac code
expects it to operate.  This is all way more complicated than
we need.

@chinmaygarde
2015-07-30 14:17:22 -07:00
Eric Seidel
4404535a9f Fix Mac/iOS builds
@abarth
2015-07-30 13:49:10 -07:00
Adam Barth
5f6523e66d Merge pull request #383 from abarth/discardable_memory
Call DiscardableMemoryAllocator::SetInstance()
2015-07-30 13:26:02 -07:00
Eric Seidel
c5d8cbc512 Fix two crashes when resuming apps
@abarth
2015-07-30 13:16:55 -07:00
Adam Barth
693dd4822f Call DiscardableMemoryAllocator::SetInstance()
Apparently this can cause a crash when when we try to render an emoji at a
different size than the emoji font's native bitmap size. I'm not sure how to
reproduce the issue. I'll ask Hixie when he gets back.

Currently we just use regular memory. In the future, we should actually use
discarable memory.

Fixes #203
2015-07-30 12:55:20 -07:00
Eric Seidel
f2b05916b4 Bump APK version in prep for release
@abarth
2015-07-30 12:41:27 -07:00
Eric Seidel
67266d7717 Teach roll_versions about sky_services and add mising CHANGELOG.md files
@abarth
2015-07-30 12:33:56 -07:00