13701 Commits

Author SHA1 Message Date
Collin Jackson
4604021dd3 Support for non-alphabetic baselines 2015-07-17 17:06:08 -07:00
Collin Jackson
e3d5c2b25e Draw debug rects when flex overflows 2015-07-17 17:04:59 -07:00
Collin Jackson
e1aa0431be Merge pull request #110 from collinjackson/baseline2
Track overflow during flex layout and fix stocks row

R=hixie
2015-07-17 17:03:52 -07:00
Collin Jackson
62fc9d8515 Track overflow during flex layout 2015-07-17 16:13:15 -07:00
Collin Jackson
65d47af75c Fix layout of stocks row 2015-07-17 16:10:10 -07:00
Adam Barth
87c56759cc Merge pull request #99 from abarth/fix_symlink
Fix build issues related to symlink.py
2015-07-17 15:44:50 -07:00
Adam Barth
fbf9df582d Fix build issues related to symlink.py
There are actually two uses cases for symlink.py. This CL restores
//build/symlink.py to match the version in Chromium and adds a new version in
////sky/build/symlink.py that works properly for the material-design-icons.
2015-07-17 15:41:40 -07:00
Collin Jackson
c80f1c7c31 Merge pull request #95 from collinjackson/baseline
Fix #57 Flex needs to understand baselines
2015-07-17 14:29:29 -07:00
Collin Jackson
695a13583b Update example 2015-07-17 14:29:05 -07:00
Collin Jackson
07f9c95efc Fix comments 2015-07-17 12:49:37 -07:00
Collin Jackson
7a7110b2a0 Fix #57 Flex needs to understand baselines 2015-07-17 12:46:51 -07:00
Adam Barth
f3d913c514 Refactor Material animation to use AnimatedContainer
The idea is that AnimatedContainer is a drop-in replacement for Container that
provides implicit animations when its properties change.

R=mpcomplete@google.com
2015-07-17 12:23:46 -07:00
Collin Jackson
d6232c3c71 Remove unused import 2015-07-17 10:18:32 -07:00
Collin Jackson
0e129498c0 Merge pull request #86 from collinjackson/avoid_building
Navigator improvements, avoid building invisible routes

R=abarth
2015-07-17 09:54:34 -07:00
Collin Jackson
f9697a5cd7 Fix issue #34 Clicking on "Autorefresh" menu item does not click checkbox 2015-07-17 09:48:49 -07:00
Collin Jackson
cc29757eee Navigator improvements, avoid building invisible routes 2015-07-17 09:38:22 -07:00
Collin Jackson
fd744a1244 Use unique integers as the key for history items to prevent collisions 2015-07-17 09:05:46 -07:00
Collin Jackson
99346d00c1 abarth feedback 2015-07-16 17:39:36 -07:00
Collin Jackson
a54f7cf265 Fix bug when having more than 2 routes 2015-07-16 17:36:45 -07:00
Collin Jackson
e075988fe0 Make example look more beautiful 2015-07-16 17:36:25 -07:00
Collin Jackson
38cbf9b5d3 Support for settings fly-in animation 2015-07-16 17:22:20 -07:00
Collin Jackson
b33edf28c6 more updates 2015-07-16 16:43:46 -07:00
Collin Jackson
073f9e3d5c README updates 2015-07-16 16:39:44 -07:00
Eric Seidel
e70a5c94e5 Roll versions in perparation for another APK release.
Also fixed roll_versions to no longer roll mojo paths
since those are not part of the sky_engine repository.

R=abarth@google.com
2015-07-16 15:42:57 -07:00
Hixie
a77a9c18b2 Remove EventTarget, and subsequent fallout.
The primary goal of this change was to remove EventTarget from the
sky_engine C++ code. Since EventTarget is so core to the entire event
system that sky_engine was based on, this is a rather invasive change.
As such, it had some knock-on effects. I deleted some of the files
that were affected, and cauterised the remainder.

In many cases, a file would depend on another file that it didn't
include directly, but instead included indirectly via another file
that I deleted. When this happened, if the features that this broke
were obsolete, I sometimes just removed the features instead.

Specifically:
- removed EventTarget
- removed EventQueue, since without a target, what's a queue going to
  do?
- same with EventDispatch*
- removed ExecutionContext, since it had an EventQueue and nothing
  else it did was relevant to Sky anymore
- removed ActiveDOMObject, which was all about ExecutionContexts
- removed ContextLifecycleNotifier since it dependend on
  ExecutionContext and ActiveDOMObject
- removed the other Lifecycle classes for consistency, and replaced
  them with four booleans in the Document class
- removed some of the attributes that are no longer relevant from
  IDLExtendedAttributes (ConstructorCallWith and
  CallWith=ExecutionContext)
- removed the Document member on DOMDartState since we never set it to
  anything but null.
- removed BuiltinSky::InstallWindow since it relied on the Document
  member of DOMDartState
- removed EventHandler, EventListener, and mentions of those in
  various binding scripts
- removed NewEventHandler, since we're not using that either
- removed the following interfaces from the Sky Dart API:
  - EventTarget
  - EventListener (since without a target, there's no way to listen)
  - FocusEvent (since it's only member was an EventTarget)
  - HashChangeEvent (mostly by accident, but it's defunct anyway)
  - FontFace (it used ConstructorCallWith=ExecutionContext)
- changed the following interfaces of the Sky DART API:
  - MediaQueryList is no longer an EventTarget
  - Node is no longer an EventTarget
  - Document no longer has defaultView (depended on
    DOMDartState's document)
  - DocumentFragment, Element, Range, and Text no longer have a
    constructor (they all depended on DOMDartState's document, which
    is now gone)
  - Event lost its EventTarget members and path.
  - Window lost its WindowTimers partial interface (it used
    EventTarget and ExecutionContext a lot)
- removed numerous hacks in the bindings around features that are now
  gone, like addEventListener
- removed a bunch of console logging code, since that relied on
  ExecutionContext
- cauterised the wound in FontFace.cpp by removing constructors and
  methods that called now-removed features
- same with MediaQuery and friends
- same with some editor features and focus-related features
- same with Document
- removed DOMTimer classes since they use ExecutionContexts
2015-07-16 14:40:10 -07:00
Collin Jackson
3501bb6359 center the hello world text so it isn’t covered up by the status bar 2015-07-16 14:11:12 -07:00
Matt Perry
c491ad7cbe Add forces.dart 2015-07-16 13:09:30 -07:00
Matt Perry
7724dc7587 apply.patch 2015-07-16 12:34:11 -07:00
Collin Jackson
633b65010c After running filter-branch, move root directory into sky/ 2015-07-16 11:54:25 -07:00
Chinmay Garde
1ad857b53b Allow explicitly setting tolerances on simulations 2015-07-14 16:00:00 -07:00
Adam Barth
1f1cd6c279 Increase the simulation epsilon
We don't need to compute simulations out to that many decimal places because
we're working in pixels.

R=chinmaygarde@google.com
2015-07-10 16:34:13 -07:00
Chinmay Garde
be7e02851a Add test to verify that composite scroll simulation ends correctly
even if the spring was never initialized.
2015-07-10 16:07:59 -07:00
Chinmay Garde
1633ac7f12 Use the more concise syntax for initialization of variables in the constructor 2015-07-08 18:15:18 -07:00
Chinmay Garde
7b77043eba Newton: Address initial code review concerns 2015-07-08 17:56:14 -07:00
Chinmay Garde
d29a0b526b Address initial code review concerns 2015-07-08 16:40:51 -07:00
Chinmay Garde
99dc91eb36 Add bulk remove options 2015-07-08 12:38:22 -07:00
Chinmay Garde
e933565993 Add bulk edit update options to the solver 2015-07-08 10:39:17 -07:00
Chinmay Garde
149a2ca1f8 Get rid of the return type decl on the equality operator override on EquationMember 2015-07-08 10:38:42 -07:00
Chinmay Garde
e0f38529ed == operator override on expression returns a constraint 2015-07-07 13:19:36 -07:00
Chinmay Garde
be5e52bc7c Add build status and coverage badges 2015-07-06 14:31:21 -07:00
Chinmay Garde
fc098d8c65 Rename concrete simulation subclasses 2015-07-06 14:11:41 -07:00
Chinmay Garde
9932e9f03a Test kinetic scrolling group simulation 2015-07-06 14:03:10 -07:00
Chinmay Garde
c3aaf8aa33 Test individial spring types 2015-07-06 13:30:53 -07:00
Chinmay Garde
ab7a6dd6c2 Add accessors for spring type 2015-07-06 12:48:52 -07:00
Chinmay Garde
bcf1f8d05e Test gravity 2015-07-06 12:33:21 -07:00
Chinmay Garde
30965c0984 Test Friction simulation 2015-07-06 12:19:37 -07:00
Chinmay Garde
8c91b9b7c7 Implement simulation groups for kinetic scrolling 2015-07-06 10:57:26 -07:00
Chinmay Garde
5a439792f1 Non composite simulations: Friction, gravity, spring 2015-07-01 18:07:25 -07:00
Chinmay Garde
1ad945f897 Make the constant member value final 2015-07-01 12:26:46 -07:00
Chinmay Garde
a223491d00 Equality override on equation member returns a constraint 2015-07-01 12:26:33 -07:00