1325 Commits

Author SHA1 Message Date
Arjan Molenaar
48ad883bdd Add line to avoid lint error
???
2020-10-20 07:41:39 +02:00
Arjan Molenaar
37d77373be update constraint
Deal with variables: most recent changed always at the end of the list

Deal with identity vs equality checks for variables (which behaves like
a number in many ways).
2020-10-20 07:41:39 +02:00
Arjan Molenaar
b6f31b05ad Handle constraint updates on matrix change 2020-10-20 07:41:39 +02:00
Arjan Molenaar
18edaa5905 Model MatrixProjection as a constraint
This looks really neat, since now the constraint can be registered with
the solver and we do not have to manage it separately.
2020-10-20 07:41:39 +02:00
Arjan Molenaar
26af1f19d4 Can perform two-way matrix transformation 2020-10-20 07:41:39 +02:00
Arjan Molenaar
f2e8410d5d Make Variable.strength a read-only property
Now Constraints can know upfront the variable strengths and optimize for
that.
2020-10-20 07:41:39 +02:00
Arjan Molenaar
0184c2f262 Solver logic no longer maintains state on other objects 2020-10-20 07:41:39 +02:00
Arjan Molenaar
b6e0487723 Do dirty variable notification via callbacks 2020-10-20 07:41:39 +02:00
Arjan Molenaar
f6ebe52dc2 Order Variable members 2020-10-20 07:41:39 +02:00
Arjan Molenaar
04371bb2d4 Move gaphas.solver to a package
Separate the classes in their own files.
2020-10-20 07:41:39 +02:00
Arjan Molenaar
a190341875 Variable is observable now 2020-10-20 07:41:39 +02:00
Arjan Molenaar
048b6765bd Remove picklers module 2020-10-20 07:41:14 +02:00
Dan Yeaw
4244c46462
Merge pull request #126 from gaphor/remove-cache-variables
Remove cache variables
2020-10-18 20:12:18 -04:00
Arjan Molenaar
ad3b2cbeb4 Update pre-commit config 2020-10-18 17:51:27 +02:00
Dan Yeaw
d110f96c46
Merge pull request #127 from gaphor/sourcery/remove-cache-variables
Remove cache variables (Sourcery refactored)
2020-10-14 15:02:19 -04:00
Sourcery AI
a91a87b7d6 'Refactored by Sourcery' 2020-10-13 19:25:41 +00:00
Dan Yeaw
0b963ad994
Merge pull request #125 from gaphor/dependabot/pip/importlib-metadata-2.0.0
Bump importlib-metadata from 1.7.0 to 2.0.0
2020-10-13 08:58:41 -04:00
dependabot[bot]
00952fedcf
Bump importlib-metadata from 1.7.0 to 2.0.0
Bumps [importlib-metadata](http://importlib-metadata.readthedocs.io/) from 1.7.0 to 2.0.0.

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 06:06:34 +00:00
Arjan Molenaar
0ad40478fa Remove view-to-item matrix caching
Just calculate
2020-10-12 23:12:46 +02:00
Arjan Molenaar
9bf219d88e Remove canvas-to-item matrix caching 2020-10-12 22:26:06 +02:00
Arjan Molenaar
2a6820f947 Remove item indexing logic 2020-10-12 22:13:04 +02:00
Arjan Molenaar
bad9ad22e9 Order items in tree, not via extra attribute
Also get rid of the reverse property. Use `reversed()` instead.
2020-10-12 22:05:09 +02:00
Dan Yeaw
c5311fd50f
Merge pull request #124 from gaphor/dependabot/pip/tox-3.20.1
Bump tox from 3.20.0 to 3.20.1
2020-10-12 08:33:13 -04:00
Dan Yeaw
b851b65edc
Merge pull request #123 from gaphor/dependabot/github_actions/actions/cache-v2.1.2
Bump actions/cache from v2.1.1 to v2.1.2
2020-10-12 08:32:55 -04:00
dependabot[bot]
642993ba81
Bump tox from 3.20.0 to 3.20.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.20.0 to 3.20.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.20.0...3.20.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 06:46:36 +00:00
dependabot[bot]
cd5ff751ef
Bump actions/cache from v2.1.1 to v2.1.2
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.1 to v2.1.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.1...d1255ad9362389eac595a9ae406b8e8cb3331f16)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 06:41:30 +00:00
Arjan Molenaar
49de4102ee
Merge pull request #118 from gaphor/remove-pickle
Remove pickle related code
2020-10-10 20:56:52 +02:00
Arjan Molenaar
ededb80742 Remove pickle related code 2020-10-10 17:24:11 +02:00
Arjan Molenaar
ea58d673bf
Merge pull request #120 from gaphor/add-type-information
Add type information
2020-10-10 17:22:15 +02:00
Arjan Molenaar
90563aa295
Merge pull request #121 from gaphor/sourcery/add-type-information
Add type information (Sourcery refactored)
2020-10-10 17:19:27 +02:00
Sourcery AI
0d6fb0f687 'Refactored by Sourcery' 2020-10-10 15:15:48 +00:00
Arjan Molenaar
71eef01c11 Add type information 2020-10-10 17:14:53 +02:00
Arjan Molenaar
6d37abd332 Fix type errors in (Gtk)View 2020-10-10 14:28:00 +02:00
Arjan Molenaar
2e839f2818
Merge pull request #112 from gaphor/dependabot/pip/pycairo-1.20.0
Bump pycairo from 1.19.1 to 1.20.0
2020-10-06 16:32:48 +02:00
dependabot[bot]
0579da929e
Bump pycairo from 1.19.1 to 1.20.0
Bumps [pycairo](https://github.com/ldo/qahirah) from 1.19.1 to 1.20.0.
- [Release notes](https://github.com/ldo/qahirah/releases)
- [Commits](https://github.com/ldo/qahirah/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-06 06:09:51 +00:00
Dan Yeaw
255827ee99
Merge pull request #111 from gaphor/dependabot/github_actions/paambaati/codeclimate-action-v2.7.4
Bump paambaati/codeclimate-action from v2.7.3 to v2.7.4
2020-10-05 09:33:42 -04:00
Dan Yeaw
9de1b99a40
Merge pull request #110 from gaphor/dependabot/pip/pytest-6.1.1
Bump pytest from 6.1.0 to 6.1.1
2020-10-05 09:33:28 -04:00
dependabot[bot]
25fb59a6c4
Bump paambaati/codeclimate-action from v2.7.3 to v2.7.4
Bumps [paambaati/codeclimate-action](https://github.com/paambaati/codeclimate-action) from v2.7.3 to v2.7.4.
- [Release notes](https://github.com/paambaati/codeclimate-action/releases)
- [Changelog](https://github.com/paambaati/codeclimate-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paambaati/codeclimate-action/compare/v2.7.3...439a9b7df49eeb16a99560435c48465b0f9ebddb)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 06:43:25 +00:00
dependabot[bot]
67dd502a32
Bump pytest from 6.1.0 to 6.1.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.1.0...6.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 06:42:48 +00:00
Dan Yeaw
9286c3d945
Merge pull request #108 from gaphor/dependabot/github_actions/actions/setup-python-v2.1.3
Bump actions/setup-python from v2.1.2 to v2.1.3
2020-10-02 22:01:15 -04:00
Dan Yeaw
56e35436a5
Merge pull request #109 from gaphor/dependabot/github_actions/paambaati/codeclimate-action-v2.7.3
Bump paambaati/codeclimate-action from v2.7.1 to v2.7.3
2020-10-02 22:00:52 -04:00
dependabot[bot]
bb61b9133e
Bump paambaati/codeclimate-action from v2.7.1 to v2.7.3
Bumps [paambaati/codeclimate-action](https://github.com/paambaati/codeclimate-action) from v2.7.1 to v2.7.3.
- [Release notes](https://github.com/paambaati/codeclimate-action/releases)
- [Changelog](https://github.com/paambaati/codeclimate-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paambaati/codeclimate-action/compare/v2.7.1...738fb8ce9bd3dda56152c27bd729624b4ebd9935)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-02 06:05:13 +00:00
dependabot[bot]
8fef89bd91
Bump actions/setup-python from v2.1.2 to v2.1.3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2.1.2 to v2.1.3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.1.2...c181ffa198a1248f902bc2f7965d2f9a36c2d7f6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 06:14:34 +00:00
Dan Yeaw
aec45ad1c2
Merge pull request #106 from gaphor/dependabot/pip/pytest-6.1.0
Bump pytest from 6.0.2 to 6.1.0
2020-09-27 14:00:05 -04:00
dependabot[bot]
6a5363529a
Bump pytest from 6.0.2 to 6.1.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.0.2 to 6.1.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.0.2...6.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-27 17:52:10 +00:00
Dan Yeaw
f21360ba70
Enable dependabot for docs 2020-09-27 13:51:20 -04:00
Dan Yeaw
4d77d70f21
Merge pull request #105 from gaphor/dependabot/github_actions/actions/checkout-v2.3.3
Bump actions/checkout from v2.3.2 to v2.3.3
2020-09-24 21:40:09 -04:00
Dan Yeaw
15718f5a5f
Merge pull request #104 from gaphor/dependabot/github_actions/paambaati/codeclimate-action-v2.7.1
Bump paambaati/codeclimate-action from v2.6.0 to v2.7.1
2020-09-24 21:39:44 -04:00
dependabot[bot]
db7907f1f6
Bump actions/checkout from v2.3.2 to v2.3.3
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.2 to v2.3.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.2...a81bbbf8298c0fa03ea29cdc473d45769f953675)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-24 06:11:56 +00:00
dependabot[bot]
6daea660c9
Bump paambaati/codeclimate-action from v2.6.0 to v2.7.1
Bumps [paambaati/codeclimate-action](https://github.com/paambaati/codeclimate-action) from v2.6.0 to v2.7.1.
- [Release notes](https://github.com/paambaati/codeclimate-action/releases)
- [Changelog](https://github.com/paambaati/codeclimate-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paambaati/codeclimate-action/compare/v2.6.0...e1dd6c80cba08015565ac325eda6dfbd53380177)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-23 10:40:25 +00:00