| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | lay/strain: replace Solver mutex with channels | Sam Anthony | 4 days | 1 | -10/+75 |
| | | | | | | | | | | Partially reverts 483236742ddcd7883b5f9cff92244129274aa79c. Solver still closes itself automatically, but reverted to using request/reply channels. Mutex was becoming annoying to manage, as expected. TODO: TestRows fails intermittently due to constraint channels not being flushed when Solve() is called. | ||||
| * | lay/strain: add default constraints to Solver | Sam Anthony | 12 days | 1 | -11/+25 |
| | | |||||
| * | lay/strain: use synctest | Sam Anthony | 12 days | 1 | -33/+37 |
| | | |||||
| * | lay/strain: simplify Solver internal synchronization | Sam Anthony | 12 days | 1 | -9/+51 |
| | | | | | | | | | Replaced the AddConstraint() and Solve() methods' request/reply channels, used a mutex instread. Solver now closes the fieldConstrs channel automatically; removed the Close() method. Generally tidied up. | ||||
| * | lay/strain: represent rectangles as (origin, size) | Sam Anthony | 12 days | 1 | -0/+105 |