24 Commits

Author SHA1 Message Date
Hixie
d162d98c79 Enable always_specify_types lint
And fix the zillion issues that uncovered.
2016-03-11 18:27:32 -08:00
Adam Barth
4408c820e1 Rename AutoLayoutParams to AutoLayoutRect
This object represents a rect the auto-layout system.
2016-02-15 16:29:27 -08: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
a223491d00 Equality override on equation member returns a constraint 2015-07-01 12:26:33 -07:00
Chinmay Garde
e66e88834e Parameter contexts are non-final 2015-06-30 16:49:15 -07:00
Chinmay Garde
704d0174e0 Solver.flush update returns the set of context associated with parameters in play 2015-06-30 14:05:52 -07:00
Chinmay Garde
4568b088e0 Solver.flushParameterUpdates returns the a collection of updated parameters 2015-06-29 15:51:29 -07:00
Chinmay Garde
df2eb202cc Minor: A slightly more contrived test case to verify contraint priorities 2015-06-26 12:21:06 -07:00
Chinmay Garde
eedbb4f167 Add a simple test for the toString() override so that the coverage
tool is not sad
2015-06-25 18:13:56 -07:00
Chinmay Garde
d8d07a31dd Add tests edit constraints 2015-06-25 17:28:00 -07:00
Chinmay Garde
49d14caa69 Make the midpoints test pass. Fixes incorrect Row.reverseSign 2015-06-25 17:07:15 -07:00
Chinmay Garde
9d075adabb Minor: Add tests to check for addition of multiple constraints 2015-06-25 12:20:10 -07:00
Chinmay Garde
a029c93ed1 Remove the << overload on solver. Operator precendence rules made it awkward to use anyway 2015-06-25 12:11:00 -07:00
Chinmay Garde
882a17f75b Minor: Add more tests 2015-06-25 11:45:47 -07:00
Chinmay Garde
436f272a09 Avoid using variables as equation members 2015-06-24 16:48:02 -07:00
Chinmay Garde
9ea8abd5af Allow constraint creation from multiplication and division when at least one argument is a constant expression 2015-06-24 14:52:46 -07:00
Chinmay Garde
8187c6852b Allow removal of constraints from the solver 2015-06-24 12:41:54 -07:00
Chinmay Garde
9beb286180 Account for the result of optimization when adding constraints 2015-06-23 18:07:56 -07:00
Chinmay Garde
306c795c21 Minor: Add stubs for the symbol and solver 2015-06-23 09:50:52 -07:00
Chinmay Garde
a8e6ea0698 Constraints can be setup directly from non-expression via operator overrides 2015-06-22 14:31:46 -07:00
Chinmay Garde
2152de9a51 Minor: Add support for priority updates on constraints 2015-06-22 12:29:33 -07:00
Chinmay Garde
f6a323620e Initial Commit 2015-06-22 10:49:09 -07:00